diff options
Diffstat (limited to 'test/llvm_autogenerated')
-rw-r--r-- | test/llvm_autogenerated/byval.s | 18 | ||||
-rw-r--r-- | test/llvm_autogenerated/cfg-stackify.s | 114 | ||||
-rw-r--r-- | test/llvm_autogenerated/dead-vreg.s | 2 | ||||
-rw-r--r-- | test/llvm_autogenerated/i32-load-store-alignment.s | 20 | ||||
-rw-r--r-- | test/llvm_autogenerated/i64-load-store-alignment.s | 30 | ||||
-rw-r--r-- | test/llvm_autogenerated/legalize.s | 32 | ||||
-rw-r--r-- | test/llvm_autogenerated/load-store-i1.s | 4 | ||||
-rw-r--r-- | test/llvm_autogenerated/mem-intrinsics.s | 20 | ||||
-rw-r--r-- | test/llvm_autogenerated/mem-intrinsics.wast | 6 | ||||
-rw-r--r-- | test/llvm_autogenerated/offset.s | 42 | ||||
-rw-r--r-- | test/llvm_autogenerated/reg-stackify.s | 10 | ||||
-rw-r--r-- | test/llvm_autogenerated/store-results.s | 6 | ||||
-rw-r--r-- | test/llvm_autogenerated/store-trunc.s | 10 | ||||
-rw-r--r-- | test/llvm_autogenerated/store.s | 8 | ||||
-rw-r--r-- | test/llvm_autogenerated/unused-argument.s | 2 | ||||
-rw-r--r-- | test/llvm_autogenerated/userstack.s | 16 | ||||
-rw-r--r-- | test/llvm_autogenerated/varargs.s | 16 |
17 files changed, 178 insertions, 178 deletions
diff --git a/test/llvm_autogenerated/byval.s b/test/llvm_autogenerated/byval.s index 0908a9150..02a27cb94 100644 --- a/test/llvm_autogenerated/byval.s +++ b/test/llvm_autogenerated/byval.s @@ -12,7 +12,7 @@ byval_arg: i32.const $2=, __stack_pointer i32.store $5=, 0($2), $5 i32.load $push0=, 0($0) - i32.store $discard=, 12($5), $pop0 + i32.store $drop=, 12($5), $pop0 i32.const $4=, 12 i32.add $4=, $5, $4 call ext_byval_func@FUNCTION, $4 @@ -37,7 +37,7 @@ byval_arg_align8: i32.const $2=, __stack_pointer i32.store $5=, 0($2), $5 i32.load $push0=, 0($0):p2align=3 - i32.store $discard=, 8($5):p2align=3, $pop0 + i32.store $drop=, 8($5):p2align=3, $pop0 i32.const $4=, 8 i32.add $4=, $5, $4 call ext_byval_func_align8@FUNCTION, $4 @@ -66,9 +66,9 @@ byval_arg_double: i32.const $push5=, 8 i32.add $push1=, $0, $pop5 i64.load $push2=, 0($pop1) - i64.store $discard=, 0($pop3), $pop2 + i64.store $drop=, 0($pop3), $pop2 i64.load $push4=, 0($0) - i64.store $discard=, 0($4), $pop4 + i64.store $drop=, 0($4), $pop4 call ext_byval_func_alignedstruct@FUNCTION, $4 i32.const $3=, 16 i32.add $4=, $4, $3 @@ -97,7 +97,7 @@ byval_arg_big: i32.const $push20=, 32 i32.add $push1=, $0, $pop20 i32.load8_u $push2=, 0($pop1) - i32.store8 $discard=, 0($pop3):p2align=2, $pop2 + i32.store8 $drop=, 0($pop3):p2align=2, $pop2 i32.const $push4=, 24 i32.const $5=, 12 i32.add $5=, $9, $5 @@ -105,7 +105,7 @@ byval_arg_big: i32.const $push19=, 24 i32.add $push5=, $0, $pop19 i64.load $push6=, 0($pop5):p2align=0 - i64.store $discard=, 0($pop7):p2align=2, $pop6 + i64.store $drop=, 0($pop7):p2align=2, $pop6 i32.const $push8=, 16 i32.const $6=, 12 i32.add $6=, $9, $6 @@ -113,7 +113,7 @@ byval_arg_big: i32.const $push18=, 16 i32.add $push9=, $0, $pop18 i64.load $push10=, 0($pop9):p2align=0 - i64.store $discard=, 0($pop11):p2align=2, $pop10 + i64.store $drop=, 0($pop11):p2align=2, $pop10 i32.const $push12=, 8 i32.const $7=, 12 i32.add $7=, $9, $7 @@ -121,9 +121,9 @@ byval_arg_big: i32.const $push17=, 8 i32.add $push13=, $0, $pop17 i64.load $push14=, 0($pop13):p2align=0 - i64.store $discard=, 0($pop15):p2align=2, $pop14 + i64.store $drop=, 0($pop15):p2align=2, $pop14 i64.load $push16=, 0($0):p2align=0 - i64.store $discard=, 12($9):p2align=2, $pop16 + i64.store $drop=, 12($9):p2align=2, $pop16 i32.const $8=, 12 i32.add $8=, $9, $8 call ext_byval_func_bigarray@FUNCTION, $8 diff --git a/test/llvm_autogenerated/cfg-stackify.s b/test/llvm_autogenerated/cfg-stackify.s index ab05279a6..0dac62d46 100644 --- a/test/llvm_autogenerated/cfg-stackify.s +++ b/test/llvm_autogenerated/cfg-stackify.s @@ -57,7 +57,7 @@ test2: f64.load $push2=, 0($0) f64.const $push3=, 0x1.999999999999ap1 f64.mul $push4=, $pop2, $pop3 - f64.store $discard=, 0($0), $pop4 + f64.store $drop=, 0($0), $pop4 i32.const $push6=, 8 i32.add $0=, $0, $pop6 br_if 0, $1 @@ -75,30 +75,30 @@ doublediamond: .param i32, i32, i32 .result i32 i32.const $push0=, 0 - i32.store $discard=, 0($2), $pop0 + i32.store $drop=, 0($2), $pop0 block block br_if 0, $0 i32.const $push4=, 1 - i32.store $discard=, 0($2), $pop4 + i32.store $drop=, 0($2), $pop4 br 1 .LBB3_2: end_block i32.const $push1=, 2 - i32.store $discard=, 0($2), $pop1 + i32.store $drop=, 0($2), $pop1 block br_if 0, $1 i32.const $push3=, 3 - i32.store $discard=, 0($2), $pop3 + i32.store $drop=, 0($2), $pop3 br 1 .LBB3_4: end_block i32.const $push2=, 4 - i32.store $discard=, 0($2), $pop2 + i32.store $drop=, 0($2), $pop2 .LBB3_5: end_block i32.const $push5=, 5 - i32.store $discard=, 0($2), $pop5 + i32.store $drop=, 0($2), $pop5 i32.const $push6=, 0 return $pop6 .endfunc @@ -116,11 +116,11 @@ triangle: block br_if 0, $1 i32.const $push1=, 1 - i32.store $discard=, 0($0), $pop1 + i32.store $drop=, 0($0), $pop1 .LBB4_2: end_block i32.const $push2=, 2 - i32.store $discard=, 0($0), $pop2 + i32.store $drop=, 0($0), $pop2 return $2 .endfunc .Lfunc_end4: @@ -132,21 +132,21 @@ diamond: .param i32, i32 .result i32 i32.const $push0=, 0 - i32.store $discard=, 0($0), $pop0 + i32.store $drop=, 0($0), $pop0 block block br_if 0, $1 i32.const $push2=, 1 - i32.store $discard=, 0($0), $pop2 + i32.store $drop=, 0($0), $pop2 br 1 .LBB5_2: end_block i32.const $push1=, 2 - i32.store $discard=, 0($0), $pop1 + i32.store $drop=, 0($0), $pop1 .LBB5_3: end_block i32.const $push3=, 3 - i32.store $discard=, 0($0), $pop3 + i32.store $drop=, 0($0), $pop3 i32.const $push4=, 0 return $pop4 .endfunc @@ -171,11 +171,11 @@ minimal_loop: .param i32 .result i32 i32.const $push0=, 0 - i32.store $discard=, 0($0), $pop0 + i32.store $drop=, 0($0), $pop0 .LBB7_1: loop i32.const $push1=, 1 - i32.store $discard=, 0($0), $pop1 + i32.store $drop=, 0($0), $pop1 br 0 .LBB7_2: end_loop @@ -189,17 +189,17 @@ simple_loop: .param i32, i32 .result i32 i32.const $push0=, 0 - i32.store $discard=, 0($0), $pop0 + i32.store $drop=, 0($0), $pop0 .LBB8_1: loop i32.const $push3=, 1 - i32.store $discard=, 0($0), $pop3 + i32.store $drop=, 0($0), $pop3 i32.const $push4=, 0 i32.eq $push5=, $1, $pop4 br_if 0, $pop5 end_loop i32.const $push1=, 2 - i32.store $discard=, 0($0), $pop1 + i32.store $drop=, 0($0), $pop1 i32.const $push2=, 0 return $pop2 .endfunc @@ -217,19 +217,19 @@ doubletriangle: block br_if 0, $0 i32.const $push1=, 2 - i32.store $discard=, 0($2), $pop1 + i32.store $drop=, 0($2), $pop1 block br_if 0, $1 i32.const $push2=, 3 - i32.store $discard=, 0($2), $pop2 + i32.store $drop=, 0($2), $pop2 .LBB9_3: end_block i32.const $push3=, 4 - i32.store $discard=, 0($2), $pop3 + i32.store $drop=, 0($2), $pop3 .LBB9_4: end_block i32.const $push4=, 5 - i32.store $discard=, 0($2), $pop4 + i32.store $drop=, 0($2), $pop4 return $3 .endfunc .Lfunc_end9: @@ -241,24 +241,24 @@ ifelse_earlyexits: .param i32, i32, i32 .result i32 i32.const $push0=, 0 - i32.store $discard=, 0($2), $pop0 + i32.store $drop=, 0($2), $pop0 block block br_if 0, $0 i32.const $push3=, 1 - i32.store $discard=, 0($2), $pop3 + i32.store $drop=, 0($2), $pop3 br 1 .LBB10_2: end_block i32.const $push1=, 2 - i32.store $discard=, 0($2), $pop1 + i32.store $drop=, 0($2), $pop1 br_if 0, $1 i32.const $push2=, 3 - i32.store $discard=, 0($2), $pop2 + i32.store $drop=, 0($2), $pop2 .LBB10_4: end_block i32.const $push4=, 4 - i32.store $discard=, 0($2), $pop4 + i32.store $drop=, 0($2), $pop4 i32.const $push5=, 0 return $pop5 .endfunc @@ -273,30 +273,30 @@ doublediamond_in_a_loop: .LBB11_1: loop i32.const $push0=, 0 - i32.store $discard=, 0($2), $pop0 + i32.store $drop=, 0($2), $pop0 block block br_if 0, $0 i32.const $push1=, 1 - i32.store $discard=, 0($2), $pop1 + i32.store $drop=, 0($2), $pop1 br 1 .LBB11_3: end_block i32.const $push2=, 2 - i32.store $discard=, 0($2), $pop2 + i32.store $drop=, 0($2), $pop2 block br_if 0, $1 i32.const $push3=, 3 - i32.store $discard=, 0($2), $pop3 + i32.store $drop=, 0($2), $pop3 br 1 .LBB11_5: end_block i32.const $push4=, 4 - i32.store $discard=, 0($2), $pop4 + i32.store $drop=, 0($2), $pop4 .LBB11_6: end_block i32.const $push5=, 5 - i32.store $discard=, 0($2), $pop5 + i32.store $drop=, 0($2), $pop5 br 0 .LBB11_7: end_loop @@ -389,18 +389,18 @@ test5: i32.eq $push10=, $0, $pop9 br_if 2, $pop10 i32.const $push8=, 1 - i32.store $discard=, 0($1), $pop8 + i32.store $drop=, 0($1), $pop8 br_if 0, $2 end_loop i32.const $push2=, 0 i32.const $push3=, 3 - i32.store $discard=, 0($pop2), $pop3 + i32.store $drop=, 0($pop2), $pop3 return .LBB14_4: end_block i32.const $push0=, 0 i32.const $push1=, 2 - i32.store $discard=, 0($pop0), $pop1 + i32.store $drop=, 0($pop0), $pop1 return .endfunc .Lfunc_end14: @@ -431,23 +431,23 @@ test6: i32.const $push16=, 0 i32.eq $push17=, $pop11, $pop16 br_if 2, $pop17 - i32.store $discard=, 0($0), $4 + i32.store $drop=, 0($0), $4 br_if 0, $3 end_loop i32.const $push6=, 0 i32.const $push7=, 2 - i32.store $discard=, 0($pop6), $pop7 + i32.store $drop=, 0($pop6), $pop7 return .LBB15_5: end_block i32.const $push2=, 0 i32.const $push3=, 3 - i32.store $discard=, 0($pop2), $pop3 + i32.store $drop=, 0($pop2), $pop3 .LBB15_6: end_block i32.const $push4=, 0 i32.const $push5=, 4 - i32.store $discard=, 0($pop4), $pop5 + i32.store $drop=, 0($pop4), $pop5 return .endfunc .Lfunc_end15: @@ -470,23 +470,23 @@ test7: block br_if 0, $3 i32.const $push10=, 2 - i32.store $discard=, 0($2), $pop10 + i32.store $drop=, 0($2), $pop10 i32.and $push1=, $1, $0 br_if 1, $pop1 i32.const $push2=, 0 i32.const $push3=, 4 - i32.store $discard=, 0($pop2), $pop3 + i32.store $drop=, 0($pop2), $pop3 unreachable .LBB16_4: end_block i32.const $push11=, 3 - i32.store $discard=, 0($2), $pop11 + i32.store $drop=, 0($2), $pop11 i32.and $push4=, $1, $0 br_if 0, $pop4 end_loop i32.const $push5=, 0 i32.const $push6=, 5 - i32.store $discard=, 0($pop5), $pop6 + i32.store $drop=, 0($pop5), $pop6 unreachable .endfunc .Lfunc_end16: @@ -540,7 +540,7 @@ test9: .LBB18_2: loop i32.const $push15=, 2 - i32.store $discard=, 0($0), $pop15 + i32.store $drop=, 0($0), $pop15 block i32.call $push6=, a@FUNCTION i32.and $push7=, $pop6, $1 @@ -548,7 +548,7 @@ test9: i32.eq $push21=, $pop7, $pop20 br_if 0, $pop21 i32.const $push16=, 3 - i32.store $discard=, 0($0), $pop16 + i32.store $drop=, 0($0), $pop16 i32.call $push10=, a@FUNCTION i32.and $push11=, $pop10, $1 br_if 1, $pop11 @@ -556,7 +556,7 @@ test9: .LBB18_4: end_block i32.const $push17=, 4 - i32.store $discard=, 0($0), $pop17 + i32.store $drop=, 0($0), $pop17 i32.call $push8=, a@FUNCTION i32.and $push9=, $pop8, $1 br_if 0, $pop9 @@ -566,7 +566,7 @@ test9: end_loop i32.const $push4=, 0 i32.const $push5=, 5 - i32.store $discard=, 0($pop4), $pop5 + i32.store $drop=, 0($pop4), $pop5 return .endfunc .Lfunc_end18: @@ -626,28 +626,28 @@ test11: tee_local $push14=, $0=, $pop1 br_if 0, $pop14 i32.const $push7=, 1 - i32.store $discard=, 0($0), $pop7 + i32.store $drop=, 0($0), $pop7 block br_if 0, $0 i32.const $push9=, 0 i32.const $push8=, 2 - i32.store $discard=, 0($pop9), $pop8 + i32.store $drop=, 0($pop9), $pop8 i32.const $push16=, 0 br_if 2, $pop16 .LBB20_3: end_block i32.const $push12=, 0 i32.const $push13=, 3 - i32.store $discard=, 0($pop12), $pop13 + i32.store $drop=, 0($pop12), $pop13 return .LBB20_4: end_block i32.const $push2=, 4 - i32.store $discard=, 0($0), $pop2 + i32.store $drop=, 0($0), $pop2 br_if 2, $0 i32.const $push18=, 0 i32.const $push3=, 5 - i32.store $discard=, 0($pop18), $pop3 + i32.store $drop=, 0($pop18), $pop3 i32.const $push17=, 0 i32.const $push20=, 0 i32.eq $push21=, $pop17, $pop20 @@ -656,19 +656,19 @@ test11: end_block i32.const $push10=, 0 i32.const $push11=, 7 - i32.store $discard=, 0($pop10), $pop11 + i32.store $drop=, 0($pop10), $pop11 return .LBB20_7: end_block i32.const $push19=, 0 i32.const $push4=, 6 - i32.store $discard=, 0($pop19), $pop4 + i32.store $drop=, 0($pop19), $pop4 return .LBB20_8: end_block i32.const $push5=, 0 i32.const $push6=, 8 - i32.store $discard=, 0($pop5), $pop6 + i32.store $drop=, 0($pop5), $pop6 return .endfunc .Lfunc_end20: @@ -759,7 +759,7 @@ test14: .LBB23_2: end_loop loop - i32.const $discard=, 0 + i32.const $drop=, 0 i32.const $push1=, 0 br_if 0, $pop1 end_loop diff --git a/test/llvm_autogenerated/dead-vreg.s b/test/llvm_autogenerated/dead-vreg.s index dcc517d05..f3aac1461 100644 --- a/test/llvm_autogenerated/dead-vreg.s +++ b/test/llvm_autogenerated/dead-vreg.s @@ -23,7 +23,7 @@ foo: br_if 0, $4 .LBB0_3: loop - i32.store $discard=, 0($7), $6 + i32.store $drop=, 0($7), $6 i32.const $push6=, -1 i32.add $8=, $8, $pop6 i32.const $push5=, 4 diff --git a/test/llvm_autogenerated/i32-load-store-alignment.s b/test/llvm_autogenerated/i32-load-store-alignment.s index 9f02ec6bb..58c560912 100644 --- a/test/llvm_autogenerated/i32-load-store-alignment.s +++ b/test/llvm_autogenerated/i32-load-store-alignment.s @@ -114,7 +114,7 @@ ldi16_a4: .type sti32_a1,@function sti32_a1: .param i32, i32 - i32.store $discard=, 0($0):p2align=0, $1 + i32.store $drop=, 0($0):p2align=0, $1 return .endfunc .Lfunc_end10: @@ -124,7 +124,7 @@ sti32_a1: .type sti32_a2,@function sti32_a2: .param i32, i32 - i32.store $discard=, 0($0):p2align=1, $1 + i32.store $drop=, 0($0):p2align=1, $1 return .endfunc .Lfunc_end11: @@ -134,7 +134,7 @@ sti32_a2: .type sti32_a4,@function sti32_a4: .param i32, i32 - i32.store $discard=, 0($0), $1 + i32.store $drop=, 0($0), $1 return .endfunc .Lfunc_end12: @@ -144,7 +144,7 @@ sti32_a4: .type sti32,@function sti32: .param i32, i32 - i32.store $discard=, 0($0), $1 + i32.store $drop=, 0($0), $1 return .endfunc .Lfunc_end13: @@ -154,7 +154,7 @@ sti32: .type sti32_a8,@function sti32_a8: .param i32, i32 - i32.store $discard=, 0($0):p2align=3, $1 + i32.store $drop=, 0($0):p2align=3, $1 return .endfunc .Lfunc_end14: @@ -164,7 +164,7 @@ sti32_a8: .type sti8_a1,@function sti8_a1: .param i32, i32 - i32.store8 $discard=, 0($0), $1 + i32.store8 $drop=, 0($0), $1 return .endfunc .Lfunc_end15: @@ -174,7 +174,7 @@ sti8_a1: .type sti8_a2,@function sti8_a2: .param i32, i32 - i32.store8 $discard=, 0($0):p2align=1, $1 + i32.store8 $drop=, 0($0):p2align=1, $1 return .endfunc .Lfunc_end16: @@ -184,7 +184,7 @@ sti8_a2: .type sti16_a1,@function sti16_a1: .param i32, i32 - i32.store16 $discard=, 0($0):p2align=0, $1 + i32.store16 $drop=, 0($0):p2align=0, $1 return .endfunc .Lfunc_end17: @@ -194,7 +194,7 @@ sti16_a1: .type sti16_a2,@function sti16_a2: .param i32, i32 - i32.store16 $discard=, 0($0), $1 + i32.store16 $drop=, 0($0), $1 return .endfunc .Lfunc_end18: @@ -204,7 +204,7 @@ sti16_a2: .type sti16_a4,@function sti16_a4: .param i32, i32 - i32.store16 $discard=, 0($0):p2align=2, $1 + i32.store16 $drop=, 0($0):p2align=2, $1 return .endfunc .Lfunc_end19: diff --git a/test/llvm_autogenerated/i64-load-store-alignment.s b/test/llvm_autogenerated/i64-load-store-alignment.s index 2f290e044..fb0870989 100644 --- a/test/llvm_autogenerated/i64-load-store-alignment.s +++ b/test/llvm_autogenerated/i64-load-store-alignment.s @@ -169,7 +169,7 @@ ldi32_a8: .type sti64_a1,@function sti64_a1: .param i32, i64 - i64.store $discard=, 0($0):p2align=0, $1 + i64.store $drop=, 0($0):p2align=0, $1 return .endfunc .Lfunc_end15: @@ -179,7 +179,7 @@ sti64_a1: .type sti64_a2,@function sti64_a2: .param i32, i64 - i64.store $discard=, 0($0):p2align=1, $1 + i64.store $drop=, 0($0):p2align=1, $1 return .endfunc .Lfunc_end16: @@ -189,7 +189,7 @@ sti64_a2: .type sti64_a4,@function sti64_a4: .param i32, i64 - i64.store $discard=, 0($0):p2align=2, $1 + i64.store $drop=, 0($0):p2align=2, $1 return .endfunc .Lfunc_end17: @@ -199,7 +199,7 @@ sti64_a4: .type sti64_a8,@function sti64_a8: .param i32, i64 - i64.store $discard=, 0($0), $1 + i64.store $drop=, 0($0), $1 return .endfunc .Lfunc_end18: @@ -209,7 +209,7 @@ sti64_a8: .type sti64,@function sti64: .param i32, i64 - i64.store $discard=, 0($0), $1 + i64.store $drop=, 0($0), $1 return .endfunc .Lfunc_end19: @@ -219,7 +219,7 @@ sti64: .type sti64_a16,@function sti64_a16: .param i32, i64 - i64.store $discard=, 0($0):p2align=3, $1 + i64.store $drop=, 0($0):p2align=3, $1 return .endfunc .Lfunc_end20: @@ -229,7 +229,7 @@ sti64_a16: .type sti8_a1,@function sti8_a1: .param i32, i64 - i64.store8 $discard=, 0($0), $1 + i64.store8 $drop=, 0($0), $1 return .endfunc .Lfunc_end21: @@ -239,7 +239,7 @@ sti8_a1: .type sti8_a2,@function sti8_a2: .param i32, i64 - i64.store8 $discard=, 0($0):p2align=1, $1 + i64.store8 $drop=, 0($0):p2align=1, $1 return .endfunc .Lfunc_end22: @@ -249,7 +249,7 @@ sti8_a2: .type sti16_a1,@function sti16_a1: .param i32, i64 - i64.store16 $discard=, 0($0):p2align=0, $1 + i64.store16 $drop=, 0($0):p2align=0, $1 return .endfunc .Lfunc_end23: @@ -259,7 +259,7 @@ sti16_a1: .type sti16_a2,@function sti16_a2: .param i32, i64 - i64.store16 $discard=, 0($0), $1 + i64.store16 $drop=, 0($0), $1 return .endfunc .Lfunc_end24: @@ -269,7 +269,7 @@ sti16_a2: .type sti16_a4,@function sti16_a4: .param i32, i64 - i64.store16 $discard=, 0($0):p2align=2, $1 + i64.store16 $drop=, 0($0):p2align=2, $1 return .endfunc .Lfunc_end25: @@ -279,7 +279,7 @@ sti16_a4: .type sti32_a1,@function sti32_a1: .param i32, i64 - i64.store32 $discard=, 0($0):p2align=0, $1 + i64.store32 $drop=, 0($0):p2align=0, $1 return .endfunc .Lfunc_end26: @@ -289,7 +289,7 @@ sti32_a1: .type sti32_a2,@function sti32_a2: .param i32, i64 - i64.store32 $discard=, 0($0):p2align=1, $1 + i64.store32 $drop=, 0($0):p2align=1, $1 return .endfunc .Lfunc_end27: @@ -299,7 +299,7 @@ sti32_a2: .type sti32_a4,@function sti32_a4: .param i32, i64 - i64.store32 $discard=, 0($0), $1 + i64.store32 $drop=, 0($0), $1 return .endfunc .Lfunc_end28: @@ -309,7 +309,7 @@ sti32_a4: .type sti32_a8,@function sti32_a8: .param i32, i64 - i64.store32 $discard=, 0($0):p2align=3, $1 + i64.store32 $drop=, 0($0):p2align=3, $1 return .endfunc .Lfunc_end29: diff --git a/test/llvm_autogenerated/legalize.s b/test/llvm_autogenerated/legalize.s index 584ad6774..c543c4029 100644 --- a/test/llvm_autogenerated/legalize.s +++ b/test/llvm_autogenerated/legalize.s @@ -719,14 +719,14 @@ bigshift: i64.lt_u $push72=, $17, $pop462 tee_local $push461=, $166=, $pop72 i64.select $push344=, $pop343, $pop463, $pop461 - i64.store $discard=, 0($pop345), $pop344 + i64.store $drop=, 0($pop345), $pop344 i64.const $push460=, 0 i64.select $push337=, $152, $pop460, $168 i64.const $push459=, 0 i64.select $push338=, $pop337, $pop459, $167 i64.const $push458=, 0 i64.select $push339=, $pop338, $pop458, $166 - i64.store $discard=, 0($0), $pop339 + i64.store $drop=, 0($0), $pop339 i32.const $push346=, 24 i32.add $push347=, $0, $pop346 i64.or $push331=, $149, $150 @@ -739,7 +739,7 @@ bigshift: i64.select $push335=, $pop334, $pop455, $167 i64.const $push454=, 0 i64.select $push336=, $pop335, $pop454, $166 - i64.store $discard=, 0($pop347), $pop336 + i64.store $drop=, 0($pop347), $pop336 i32.const $push348=, 16 i32.add $push349=, $0, $pop348 i64.or $push324=, $146, $147 @@ -749,7 +749,7 @@ bigshift: i64.select $push327=, $pop326, $pop453, $167 i64.const $push452=, 0 i64.select $push328=, $pop327, $pop452, $166 - i64.store $discard=, 0($pop349), $pop328 + i64.store $drop=, 0($pop349), $pop328 i32.const $push350=, 56 i32.add $push351=, $0, $pop350 i64.or $push291=, $132, $133 @@ -774,7 +774,7 @@ bigshift: i64.select $push299=, $8, $pop298, $165 i64.const $push444=, 0 i64.select $push300=, $pop299, $pop444, $166 - i64.store $discard=, 0($pop351), $pop300 + i64.store $drop=, 0($pop351), $pop300 i32.const $push352=, 48 i32.add $push353=, $0, $pop352 i64.or $push275=, $125, $126 @@ -790,7 +790,7 @@ bigshift: i64.select $push281=, $7, $pop280, $165 i64.const $push442=, 0 i64.select $push282=, $pop281, $pop442, $166 - i64.store $discard=, 0($pop353), $pop282 + i64.store $drop=, 0($pop353), $pop282 i32.const $push354=, 40 i32.add $push355=, $0, $pop354 i64.const $push441=, 0 @@ -808,7 +808,7 @@ bigshift: i64.select $push322=, $6, $pop321, $165 i64.const $push437=, 0 i64.select $push323=, $pop322, $pop437, $166 - i64.store $discard=, 0($pop355), $pop323 + i64.store $drop=, 0($pop355), $pop323 i32.const $push356=, 32 i32.add $push357=, $0, $pop356 i64.const $push436=, 0 @@ -823,7 +823,7 @@ bigshift: i64.select $push308=, $5, $pop307, $165 i64.const $push434=, 0 i64.select $push309=, $pop308, $pop434, $166 - i64.store $discard=, 0($pop357), $pop309 + i64.store $drop=, 0($pop357), $pop309 i32.const $push358=, 120 i32.add $push359=, $0, $pop358 i64.or $push101=, $51, $52 @@ -879,7 +879,7 @@ bigshift: i64.select $push92=, $8, $pop91, $158 i64.select $push114=, $pop113, $pop92, $166 i64.select $push115=, $16, $pop114, $165 - i64.store $discard=, 0($pop359), $pop115 + i64.store $drop=, 0($pop359), $pop115 i32.const $push360=, 112 i32.add $push361=, $0, $pop360 i64.or $push57=, $40, $41 @@ -911,7 +911,7 @@ bigshift: i64.select $push50=, $7, $pop49, $158 i64.select $push73=, $pop71, $pop50, $166 i64.select $push74=, $15, $pop73, $165 - i64.store $discard=, 0($pop361), $pop74 + i64.store $drop=, 0($pop361), $pop74 i32.const $push362=, 104 i32.add $push363=, $0, $pop362 i64.const $push409=, 0 @@ -948,7 +948,7 @@ bigshift: i64.select $push269=, $6, $pop268, $158 i64.select $push270=, $pop256, $pop269, $166 i64.select $push271=, $14, $pop270, $165 - i64.store $discard=, 0($pop363), $pop271 + i64.store $drop=, 0($pop363), $pop271 i32.const $push364=, 96 i32.add $push365=, $0, $pop364 i64.const $push400=, 0 @@ -979,7 +979,7 @@ bigshift: i64.select $push233=, $5, $pop232, $158 i64.select $push234=, $pop224, $pop233, $166 i64.select $push235=, $13, $pop234, $165 - i64.store $discard=, 0($pop365), $pop235 + i64.store $drop=, 0($pop365), $pop235 i32.const $push366=, 72 i32.add $push367=, $0, $pop366 i64.const $push395=, 0 @@ -1007,7 +1007,7 @@ bigshift: i64.select $push209=, $pop208, $pop389, $154 i64.select $push210=, $pop206, $pop209, $166 i64.select $push211=, $10, $pop210, $165 - i64.store $discard=, 0($pop367), $pop211 + i64.store $drop=, 0($pop367), $pop211 i32.const $push368=, 64 i32.add $push369=, $0, $pop368 i64.const $push388=, 0 @@ -1032,7 +1032,7 @@ bigshift: i64.select $push183=, $pop182, $pop384, $154 i64.select $push184=, $pop181, $pop183, $166 i64.select $push185=, $9, $pop184, $165 - i64.store $discard=, 0($pop369), $pop185 + i64.store $drop=, 0($pop369), $pop185 i32.const $push370=, 88 i32.add $push371=, $0, $pop370 i64.or $push140=, $67, $68 @@ -1061,7 +1061,7 @@ bigshift: i64.select $push165=, $pop164, $pop378, $154 i64.select $push166=, $pop158, $pop165, $166 i64.select $push167=, $12, $pop166, $165 - i64.store $discard=, 0($pop371), $pop167 + i64.store $drop=, 0($pop371), $pop167 i32.const $push372=, 80 i32.add $push373=, $0, $pop372 i64.or $push116=, $56, $57 @@ -1087,7 +1087,7 @@ bigshift: i64.select $push135=, $pop134, $pop374, $154 i64.select $push136=, $pop131, $pop135, $166 i64.select $push137=, $11, $pop136, $165 - i64.store $discard=, 0($pop373), $pop137 + i64.store $drop=, 0($pop373), $pop137 i32.const $185=, 1024 i32.add $312=, $312, $185 i32.const $185=, __stack_pointer diff --git a/test/llvm_autogenerated/load-store-i1.s b/test/llvm_autogenerated/load-store-i1.s index f5557b6b9..70f2f86ad 100644 --- a/test/llvm_autogenerated/load-store-i1.s +++ b/test/llvm_autogenerated/load-store-i1.s @@ -58,7 +58,7 @@ store_i32_i1: .param i32, i32 i32.const $push0=, 1 i32.and $push1=, $1, $pop0 - i32.store8 $discard=, 0($0), $pop1 + i32.store8 $drop=, 0($0), $pop1 return .endfunc .Lfunc_end4: @@ -70,7 +70,7 @@ store_i64_i1: .param i32, i64 i64.const $push0=, 1 i64.and $push1=, $1, $pop0 - i64.store8 $discard=, 0($0), $pop1 + i64.store8 $drop=, 0($0), $pop1 return .endfunc .Lfunc_end5: diff --git a/test/llvm_autogenerated/mem-intrinsics.s b/test/llvm_autogenerated/mem-intrinsics.s index 2f1bc7846..41cc1b319 100644 --- a/test/llvm_autogenerated/mem-intrinsics.s +++ b/test/llvm_autogenerated/mem-intrinsics.s @@ -15,7 +15,7 @@ copy_yes: .type copy_no,@function copy_no: .param i32, i32, i32 - i32.call $discard=, memcpy@FUNCTION, $0, $1, $2 + i32.call $drop=, memcpy@FUNCTION, $0, $1, $2 return .endfunc .Lfunc_end1: @@ -36,7 +36,7 @@ move_yes: .type move_no,@function move_no: .param i32, i32, i32 - i32.call $discard=, memmove@FUNCTION, $0, $1, $2 + i32.call $drop=, memmove@FUNCTION, $0, $1, $2 return .endfunc .Lfunc_end3: @@ -57,7 +57,7 @@ set_yes: .type set_no,@function set_no: .param i32, i32, i32 - i32.call $discard=, memset@FUNCTION, $0, $1, $2 + i32.call $drop=, memset@FUNCTION, $0, $1, $2 return .endfunc .Lfunc_end5: @@ -77,10 +77,10 @@ frame_index: i32.const $push0=, 1024 i32.const $3=, 2048 i32.add $3=, $4, $3 - i32.call $discard=, memset@FUNCTION, $3, $pop1, $pop0 + i32.call $drop=, memset@FUNCTION, $3, $pop1, $pop0 i32.const $push3=, 0 i32.const $push2=, 1024 - i32.call $discard=, memset@FUNCTION, $4, $pop3, $pop2 + i32.call $drop=, memset@FUNCTION, $4, $pop3, $pop2 i32.const $2=, 4096 i32.add $4=, $4, $2 i32.const $2=, __stack_pointer @@ -90,9 +90,9 @@ frame_index: .Lfunc_end6: .size frame_index, .Lfunc_end6-frame_index - .globl discard_result - .type discard_result,@function -discard_result: + .globl drop_result + .type drop_result,@function +drop_result: .param i32, i32, i32, i32, i32 .result i32 block @@ -105,12 +105,12 @@ discard_result: .LBB7_2: end_block br_if 0, $4 - i32.call $discard=, memset@FUNCTION, $0, $1, $2 + i32.call $drop=, memset@FUNCTION, $0, $1, $2 .LBB7_4: end_block return $0 .endfunc .Lfunc_end7: - .size discard_result, .Lfunc_end7-discard_result + .size drop_result, .Lfunc_end7-drop_result diff --git a/test/llvm_autogenerated/mem-intrinsics.wast b/test/llvm_autogenerated/mem-intrinsics.wast index 65c19b7f7..cb0d57d55 100644 --- a/test/llvm_autogenerated/mem-intrinsics.wast +++ b/test/llvm_autogenerated/mem-intrinsics.wast @@ -16,7 +16,7 @@ (export "set_yes" $set_yes) (export "set_no" $set_no) (export "frame_index" $frame_index) - (export "discard_result" $discard_result) + (export "drop_result" $drop_result) (func $copy_yes (param $$0 i32) (param $$1 i32) (param $$2 i32) (result i32) (return (call_import $memcpy @@ -139,7 +139,7 @@ ) (return) ) - (func $discard_result (param $$0 i32) (param $$1 i32) (param $$2 i32) (param $$3 i32) (param $$4 i32) (result i32) + (func $drop_result (param $$0 i32) (param $$1 i32) (param $$2 i32) (param $$3 i32) (param $$4 i32) (result i32) (block $label$0 (block $label$1 (br_if $label$1 @@ -167,4 +167,4 @@ ) ) ) -;; METADATA: { "asmConsts": {},"staticBump": 1040, "initializers": [] }
\ No newline at end of file +;; METADATA: { "asmConsts": {},"staticBump": 1040, "initializers": [] } diff --git a/test/llvm_autogenerated/offset.s b/test/llvm_autogenerated/offset.s index 0df9c3fdd..015d0ae16 100644 --- a/test/llvm_autogenerated/offset.s +++ b/test/llvm_autogenerated/offset.s @@ -127,7 +127,7 @@ load_i64_with_unfolded_gep_offset: store_i32_with_folded_offset: .param i32 i32.const $push0=, 0 - i32.store $discard=, 24($0), $pop0 + i32.store $drop=, 24($0), $pop0 return .endfunc .Lfunc_end10: @@ -138,7 +138,7 @@ store_i32_with_folded_offset: store_i32_with_folded_gep_offset: .param i32 i32.const $push0=, 0 - i32.store $discard=, 24($0), $pop0 + i32.store $drop=, 24($0), $pop0 return .endfunc .Lfunc_end11: @@ -151,7 +151,7 @@ store_i32_with_unfolded_gep_negative_offset: i32.const $push0=, -24 i32.add $push1=, $0, $pop0 i32.const $push2=, 0 - i32.store $discard=, 0($pop1), $pop2 + i32.store $drop=, 0($pop1), $pop2 return .endfunc .Lfunc_end12: @@ -164,7 +164,7 @@ store_i32_with_unfolded_offset: i32.const $push0=, 24 i32.add $push1=, $0, $pop0 i32.const $push2=, 0 - i32.store $discard=, 0($pop1), $pop2 + i32.store $drop=, 0($pop1), $pop2 return .endfunc .Lfunc_end13: @@ -177,7 +177,7 @@ store_i32_with_unfolded_gep_offset: i32.const $push0=, 24 i32.add $push1=, $0, $pop0 i32.const $push2=, 0 - i32.store $discard=, 0($pop1), $pop2 + i32.store $drop=, 0($pop1), $pop2 return .endfunc .Lfunc_end14: @@ -188,7 +188,7 @@ store_i32_with_unfolded_gep_offset: store_i64_with_folded_offset: .param i32 i64.const $push0=, 0 - i64.store $discard=, 24($0), $pop0 + i64.store $drop=, 24($0), $pop0 return .endfunc .Lfunc_end15: @@ -199,7 +199,7 @@ store_i64_with_folded_offset: store_i64_with_folded_gep_offset: .param i32 i64.const $push0=, 0 - i64.store $discard=, 24($0), $pop0 + i64.store $drop=, 24($0), $pop0 return .endfunc .Lfunc_end16: @@ -212,7 +212,7 @@ store_i64_with_unfolded_gep_negative_offset: i32.const $push0=, -24 i32.add $push1=, $0, $pop0 i64.const $push2=, 0 - i64.store $discard=, 0($pop1), $pop2 + i64.store $drop=, 0($pop1), $pop2 return .endfunc .Lfunc_end17: @@ -225,7 +225,7 @@ store_i64_with_unfolded_offset: i32.const $push0=, 24 i32.add $push1=, $0, $pop0 i64.const $push2=, 0 - i64.store $discard=, 0($pop1), $pop2 + i64.store $drop=, 0($pop1), $pop2 return .endfunc .Lfunc_end18: @@ -238,7 +238,7 @@ store_i64_with_unfolded_gep_offset: i32.const $push0=, 24 i32.add $push1=, $0, $pop0 i64.const $push2=, 0 - i64.store $discard=, 0($pop1), $pop2 + i64.store $drop=, 0($pop1), $pop2 return .endfunc .Lfunc_end19: @@ -271,7 +271,7 @@ load_i32_from_global_address: store_i32_to_numeric_address: i32.const $push0=, 0 i32.const $push1=, 0 - i32.store $discard=, 42($pop0), $pop1 + i32.store $drop=, 42($pop0), $pop1 return .endfunc .Lfunc_end22: @@ -282,7 +282,7 @@ store_i32_to_numeric_address: store_i32_to_global_address: i32.const $push0=, 0 i32.const $push1=, 0 - i32.store $discard=, gv($pop0), $pop1 + i32.store $drop=, gv($pop0), $pop1 return .endfunc .Lfunc_end23: @@ -337,7 +337,7 @@ load_i8_u_with_folded_gep_offset: store_i8_with_folded_offset: .param i32 i32.const $push0=, 0 - i32.store8 $discard=, 24($0), $pop0 + i32.store8 $drop=, 24($0), $pop0 return .endfunc .Lfunc_end28: @@ -348,7 +348,7 @@ store_i8_with_folded_offset: store_i8_with_folded_gep_offset: .param i32 i32.const $push0=, 0 - i32.store8 $discard=, 24($0), $pop0 + i32.store8 $drop=, 24($0), $pop0 return .endfunc .Lfunc_end29: @@ -363,10 +363,10 @@ aggregate_load_store: i32.load $3=, 4($0) i32.load $4=, 8($0) i32.load $push0=, 12($0) - i32.store $discard=, 12($1), $pop0 - i32.store $discard=, 8($1), $4 - i32.store $discard=, 4($1), $3 - i32.store $discard=, 0($1), $2 + i32.store $drop=, 12($1), $pop0 + i32.store $drop=, 8($1), $4 + i32.store $drop=, 4($1), $3 + i32.store $drop=, 0($1), $2 return .endfunc .Lfunc_end30: @@ -378,7 +378,7 @@ aggregate_return: .param i32 i64.const $push0=, 0 i64.store $push1=, 8($0):p2align=2, $pop0 - i64.store $discard=, 0($0):p2align=2, $pop1 + i64.store $drop=, 0($0):p2align=2, $pop1 return .endfunc .Lfunc_end31: @@ -391,9 +391,9 @@ aggregate_return_without_merge: i32.const $push0=, 0 i32.store8 $push1=, 14($0), $pop0 i32.store16 $push2=, 12($0), $pop1 - i32.store $discard=, 8($0), $pop2 + i32.store $drop=, 8($0), $pop2 i64.const $push3=, 0 - i64.store $discard=, 0($0), $pop3 + i64.store $drop=, 0($0), $pop3 return .endfunc .Lfunc_end32: diff --git a/test/llvm_autogenerated/reg-stackify.s b/test/llvm_autogenerated/reg-stackify.s index 0e5b4f6e4..e9544bb2c 100644 --- a/test/llvm_autogenerated/reg-stackify.s +++ b/test/llvm_autogenerated/reg-stackify.s @@ -7,7 +7,7 @@ no0: .result i32 i32.load $1=, 0($1) i32.const $push0=, 0 - i32.store $discard=, 0($0), $pop0 + i32.store $drop=, 0($0), $pop0 return $1 .endfunc .Lfunc_end0: @@ -20,7 +20,7 @@ no1: .result i32 i32.load $1=, 0($1) i32.const $push0=, 0 - i32.store $discard=, 0($0), $pop0 + i32.store $drop=, 0($0), $pop0 return $1 .endfunc .Lfunc_end1: @@ -32,7 +32,7 @@ yes0: .param i32, i32 .result i32 i32.const $push1=, 0 - i32.store $discard=, 0($0), $pop1 + i32.store $drop=, 0($0), $pop1 i32.load $push0=, 0($1) return $pop0 .endfunc @@ -92,7 +92,7 @@ multiple_uses: br_if 0, $pop1 i32.lt_u $push2=, $3, $0 br_if 0, $pop2 - i32.store $discard=, 0($2), $3 + i32.store $drop=, 0($2), $3 .LBB5_3: end_block return @@ -109,7 +109,7 @@ stackify_store_across_side_effects: i64.const $push0=, 4611686018427387904 i64.store $1=, 0($0), $pop0 call evoke_side_effects@FUNCTION - i64.store $discard=, 0($0), $1 + i64.store $drop=, 0($0), $1 call evoke_side_effects@FUNCTION return .endfunc diff --git a/test/llvm_autogenerated/store-results.s b/test/llvm_autogenerated/store-results.s index 703f6fb15..3de20fa96 100644 --- a/test/llvm_autogenerated/store-results.s +++ b/test/llvm_autogenerated/store-results.s @@ -21,7 +21,7 @@ foo: loop i32.const $push4=, 0 i32.const $push3=, 0 - i32.store $discard=, pos($pop4), $pop3 + i32.store $drop=, pos($pop4), $pop3 i32.const $push2=, 1 i32.add $0=, $0, $pop2 i32.const $push1=, 256 @@ -42,7 +42,7 @@ bar: loop i32.const $push4=, 0 i32.const $push3=, 0 - i32.store $discard=, pos($pop4), $pop3 + i32.store $drop=, pos($pop4), $pop3 f32.const $push2=, 0x1p0 f32.add $0=, $0, $pop2 f32.const $push1=, 0x1p8 @@ -67,7 +67,7 @@ fi_ret: i32.sub $4=, $1, $2 i32.const $2=, __stack_pointer i32.store $4=, 0($2), $4 - i32.store $discard=, 0($0), $4 + i32.store $drop=, 0($0), $4 i32.const $3=, 32 i32.add $4=, $4, $3 i32.const $3=, __stack_pointer diff --git a/test/llvm_autogenerated/store-trunc.s b/test/llvm_autogenerated/store-trunc.s index 423e3ac6b..560e5802b 100644 --- a/test/llvm_autogenerated/store-trunc.s +++ b/test/llvm_autogenerated/store-trunc.s @@ -4,7 +4,7 @@ .type trunc_i8_i32,@function trunc_i8_i32: .param i32, i32 - i32.store8 $discard=, 0($0), $1 + i32.store8 $drop=, 0($0), $1 return .endfunc .Lfunc_end0: @@ -14,7 +14,7 @@ trunc_i8_i32: .type trunc_i16_i32,@function trunc_i16_i32: .param i32, i32 - i32.store16 $discard=, 0($0), $1 + i32.store16 $drop=, 0($0), $1 return .endfunc .Lfunc_end1: @@ -24,7 +24,7 @@ trunc_i16_i32: .type trunc_i8_i64,@function trunc_i8_i64: .param i32, i64 - i64.store8 $discard=, 0($0), $1 + i64.store8 $drop=, 0($0), $1 return .endfunc .Lfunc_end2: @@ -34,7 +34,7 @@ trunc_i8_i64: .type trunc_i16_i64,@function trunc_i16_i64: .param i32, i64 - i64.store16 $discard=, 0($0), $1 + i64.store16 $drop=, 0($0), $1 return .endfunc .Lfunc_end3: @@ -44,7 +44,7 @@ trunc_i16_i64: .type trunc_i32_i64,@function trunc_i32_i64: .param i32, i64 - i64.store32 $discard=, 0($0), $1 + i64.store32 $drop=, 0($0), $1 return .endfunc .Lfunc_end4: diff --git a/test/llvm_autogenerated/store.s b/test/llvm_autogenerated/store.s index 52371d905..626b1d68e 100644 --- a/test/llvm_autogenerated/store.s +++ b/test/llvm_autogenerated/store.s @@ -4,7 +4,7 @@ .type sti32,@function sti32: .param i32, i32 - i32.store $discard=, 0($0), $1 + i32.store $drop=, 0($0), $1 return .endfunc .Lfunc_end0: @@ -14,7 +14,7 @@ sti32: .type sti64,@function sti64: .param i32, i64 - i64.store $discard=, 0($0), $1 + i64.store $drop=, 0($0), $1 return .endfunc .Lfunc_end1: @@ -24,7 +24,7 @@ sti64: .type stf32,@function stf32: .param i32, f32 - f32.store $discard=, 0($0), $1 + f32.store $drop=, 0($0), $1 return .endfunc .Lfunc_end2: @@ -34,7 +34,7 @@ stf32: .type stf64,@function stf64: .param i32, f64 - f64.store $discard=, 0($0), $1 + f64.store $drop=, 0($0), $1 return .endfunc .Lfunc_end3: diff --git a/test/llvm_autogenerated/unused-argument.s b/test/llvm_autogenerated/unused-argument.s index 00d57fba8..4ad9a528e 100644 --- a/test/llvm_autogenerated/unused-argument.s +++ b/test/llvm_autogenerated/unused-argument.s @@ -23,7 +23,7 @@ unused_second: .globl call_something .type call_something,@function call_something: - i32.call $discard=, return_something@FUNCTION + i32.call $drop=, return_something@FUNCTION return .endfunc .Lfunc_end2: diff --git a/test/llvm_autogenerated/userstack.s b/test/llvm_autogenerated/userstack.s index f7e1853b5..a56ea7ba6 100644 --- a/test/llvm_autogenerated/userstack.s +++ b/test/llvm_autogenerated/userstack.s @@ -11,7 +11,7 @@ alloca32: i32.const $1=, __stack_pointer i32.store $3=, 0($1), $3 i32.const $push0=, 0 - i32.store $discard=, 12($3), $pop0 + i32.store $drop=, 12($3), $pop0 i32.const $2=, 16 i32.add $3=, $3, $2 i32.const $2=, __stack_pointer @@ -32,9 +32,9 @@ alloca3264: i32.const $1=, __stack_pointer i32.store $3=, 0($1), $3 i32.const $push0=, 0 - i32.store $discard=, 12($3), $pop0 + i32.store $drop=, 12($3), $pop0 i64.const $push1=, 0 - i64.store $discard=, 0($3), $pop1 + i64.store $drop=, 0($3), $pop1 i32.const $2=, 16 i32.add $3=, $3, $2 i32.const $2=, __stack_pointer @@ -60,7 +60,7 @@ allocarray: i32.add $push3=, $3, $pop2 i32.const $push0=, 1 i32.store $push1=, 12($4), $pop0 - i32.store $discard=, 0($pop3), $pop1 + i32.store $drop=, 0($pop3), $pop1 i32.const $2=, 32 i32.add $4=, $4, $2 i32.const $2=, __stack_pointer @@ -87,7 +87,7 @@ non_mem_use: call ext_func@FUNCTION, $6 i32.const $5=, 16 i32.add $5=, $6, $5 - i32.store $discard=, 0($0), $5 + i32.store $drop=, 0($0), $5 i32.const $3=, 48 i32.add $6=, $6, $3 i32.const $3=, __stack_pointer @@ -109,7 +109,7 @@ allocarray_inbounds: i32.store $3=, 0($1), $3 i32.const $push0=, 1 i32.store $push1=, 12($3), $pop0 - i32.store $discard=, 24($3), $pop1 + i32.store $drop=, 24($3), $pop1 i32.const $2=, 32 i32.add $3=, $3, $2 i32.const $2=, __stack_pointer @@ -136,7 +136,7 @@ dynamic_alloca: i32.sub $0=, $3, $pop5 copy_local $3=, $0 i32.const $push6=, 0 - i32.store $discard=, 0($0), $pop6 + i32.store $drop=, 0($0), $pop6 i32.const $2=, __stack_pointer i32.store $3=, 0($2), $4 return @@ -165,7 +165,7 @@ dynamic_static_alloca: i32.sub $0=, $4, $pop5 copy_local $4=, $0 i32.const $push6=, 0 - i32.store $discard=, 0($0), $pop6 + i32.store $drop=, 0($0), $pop6 i32.const $3=, 16 i32.add $4=, $5, $3 i32.const $3=, __stack_pointer diff --git a/test/llvm_autogenerated/varargs.s b/test/llvm_autogenerated/varargs.s index 797b62804..26e8e084a 100644 --- a/test/llvm_autogenerated/varargs.s +++ b/test/llvm_autogenerated/varargs.s @@ -14,7 +14,7 @@ end: copy: .param i32, i32 i32.load $push0=, 0($1) - i32.store $discard=, 0($0), $pop0 + i32.store $drop=, 0($0), $pop0 return .endfunc .Lfunc_end1: @@ -30,7 +30,7 @@ arg_i8: tee_local $push4=, $1=, $pop0 i32.const $push1=, 4 i32.add $push2=, $pop4, $pop1 - i32.store $discard=, 0($0), $pop2 + i32.store $drop=, 0($0), $pop2 i32.load $push3=, 0($1) return $pop3 .endfunc @@ -51,7 +51,7 @@ arg_i32: tee_local $push8=, $1=, $pop4 i32.const $push5=, 4 i32.add $push6=, $pop8, $pop5 - i32.store $discard=, 0($0), $pop6 + i32.store $drop=, 0($0), $pop6 i32.load $push7=, 0($1) return $pop7 .endfunc @@ -75,12 +75,12 @@ arg_i128: i64.load $3=, 0($4) i32.const $push7=, 16 i32.add $push8=, $4, $pop7 - i32.store $discard=, 0($1), $pop8 + i32.store $drop=, 0($1), $pop8 i32.const $push11=, 8 i32.add $push10=, $0, $pop11 i64.load $push9=, 0($2) - i64.store $discard=, 0($pop10), $pop9 - i64.store $discard=, 0($0), $3 + i64.store $drop=, 0($pop10), $pop9 + i64.store $drop=, 0($0), $3 return .endfunc .Lfunc_end4: @@ -112,11 +112,11 @@ caller_some: i32.const $2=, __stack_pointer i32.store $8=, 0($2), $8 i32.const $push0=, 0 - i32.store $discard=, 0($8), $pop0 + i32.store $drop=, 0($8), $pop0 i32.const $push1=, 8 i32.add $0=, $8, $pop1 i64.const $push2=, 4611686018427387904 - i64.store $discard=, 0($0), $pop2 + i64.store $drop=, 0($0), $pop2 call callee@FUNCTION i32.const $3=, __stack_pointer i32.load $3=, 0($3) |