Remove some dead code from the abi code (#4653)

These were originally used by the old backend framework as part of
legalizing function signatures for the respective ABI.
This commit is contained in:
bjorn3
2022-08-09 21:21:55 +02:00
committed by GitHub
parent 6b6fc9ec3e
commit a4aa7258de
7 changed files with 10 additions and 94 deletions

View File

@@ -16,7 +16,7 @@ block1:
v2 = f32const 0.0
return v1, v2
}
; sameln: function %r1() -> i32, f32
; sameln: function %r1() -> i32, f32
; nextln: block1:
; nextln: v1 = iconst.i32 3
; nextln: v2 = f32const 0.0
@@ -84,11 +84,11 @@ block0:
; check: return
; Special purpose function arguments
function %special1(i32 sret, i32 fp, i32 csr, i32 link) -> i32 link, i32 fp, i32 csr, i32 sret {
block0(v1: i32, v2: i32, v3: i32, v4: i32):
return v4, v2, v3, v1
function %special1(i32 sret, i32 stack_limit) -> i32 vmctx {
block0(v1: i32, v2: i32):
return v1
}
; check: function %special1(i32 sret, i32 fp, i32 csr, i32 link) -> i32 link, i32 fp, i32 csr, i32 sret fast {
; check: block0(v1: i32, v2: i32, v3: i32, v4: i32):
; check: return v4, v2, v3, v1
; check: function %special1(i32 sret, i32 stack_limit) -> i32 vmctx fast {
; check: block0(v1: i32, v2: i32):
; check: return v1
; check: }