diff options
Diffstat (limited to 'test/torture-s/pr63302.c.s')
-rw-r--r-- | test/torture-s/pr63302.c.s | 185 |
1 files changed, 103 insertions, 82 deletions
diff --git a/test/torture-s/pr63302.c.s b/test/torture-s/pr63302.c.s index 4f1dab4c6..c025a2da8 100644 --- a/test/torture-s/pr63302.c.s +++ b/test/torture-s/pr63302.c.s @@ -7,21 +7,22 @@ foo: # @foo .param i64, i64 .result i32 - .local i64 # BB#0: # %entry i64.const $push0=, -9223372036854773761 - i64.and $0=, $0, $pop0 - i64.const $2=, 0 - i64.or $push1=, $0, $1 - i64.eq $push2=, $pop1, $2 - i64.const $push5=, -9223372036854775808 - i64.xor $push6=, $0, $pop5 - i64.const $push3=, -1 - i64.xor $push4=, $1, $pop3 - i64.or $push7=, $pop6, $pop4 - i64.eq $push8=, $pop7, $2 - i32.or $push9=, $pop2, $pop8 - return $pop9 + i64.and $push1=, $0, $pop0 + tee_local $push13=, $0=, $pop1 + i64.or $push2=, $pop13, $1 + i64.const $push3=, 0 + i64.eq $push4=, $pop2, $pop3 + i64.const $push7=, -9223372036854775808 + i64.xor $push8=, $0, $pop7 + i64.const $push5=, -1 + i64.xor $push6=, $1, $pop5 + i64.or $push9=, $pop8, $pop6 + i64.const $push12=, 0 + i64.eq $push10=, $pop9, $pop12 + i32.or $push11=, $pop4, $pop10 + return $pop11 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -35,13 +36,14 @@ bar: # @bar .result i32 # BB#0: # %entry i64.const $push0=, -2147481601 - i64.and $0=, $0, $pop0 - i64.const $push1=, 0 - i64.eq $push2=, $0, $pop1 - i64.const $push3=, -2147483648 - i64.eq $push4=, $0, $pop3 - i32.or $push5=, $pop2, $pop4 - return $pop5 + i64.and $push1=, $0, $pop0 + tee_local $push7=, $0=, $pop1 + i64.const $push2=, 0 + i64.eq $push3=, $pop7, $pop2 + i64.const $push4=, -2147483648 + i64.eq $push5=, $0, $pop4 + i32.or $push6=, $pop3, $pop5 + return $pop6 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -52,89 +54,108 @@ bar: # @bar .type main,@function main: # @main .result i32 - .local i64, i32, i32, i64, i64, i64, i64, i64 # BB#0: # %entry - i64.const $0=, 0 - i32.call $1=, foo@FUNCTION, $0, $0 - i32.const $2=, 1 block - i32.ne $push0=, $1, $2 - br_if $pop0, 0 # 0: down to label0 + i64.const $push52=, 0 + i64.const $push51=, 0 + i32.call $push0=, foo@FUNCTION, $pop52, $pop51 + i32.const $push1=, 1 + i32.ne $push2=, $pop0, $pop1 + br_if $pop2, 0 # 0: down to label0 # BB#1: # %lor.lhs.false - i64.const $3=, 1 - i32.call $push1=, foo@FUNCTION, $3, $0 - br_if $pop1, 0 # 0: down to label0 + i64.const $push3=, 1 + i64.const $push53=, 0 + i32.call $push4=, foo@FUNCTION, $pop3, $pop53 + br_if $pop4, 0 # 0: down to label0 # BB#2: # %lor.lhs.false3 - i64.const $4=, 2048 - i32.call $push2=, foo@FUNCTION, $4, $0 - i32.ne $push3=, $pop2, $2 - br_if $pop3, 0 # 0: down to label0 + i64.const $push5=, 2048 + i64.const $push54=, 0 + i32.call $push6=, foo@FUNCTION, $pop5, $pop54 + i32.const $push7=, 1 + i32.ne $push8=, $pop6, $pop7 + br_if $pop8, 0 # 0: down to label0 # BB#3: # %lor.lhs.false6 - i64.const $5=, 2049 - i32.call $push4=, foo@FUNCTION, $5, $0 - br_if $pop4, 0 # 0: down to label0 + i64.const $push9=, 2049 + i64.const $push55=, 0 + i32.call $push10=, foo@FUNCTION, $pop9, $pop55 + br_if $pop10, 0 # 0: down to label0 # BB#4: # %lor.lhs.false9 - i64.const $6=, -9223372036854775808 - i32.call $push5=, foo@FUNCTION, $6, $0 - br_if $pop5, 0 # 0: down to label0 + i64.const $push56=, -9223372036854775808 + i64.const $push11=, 0 + i32.call $push12=, foo@FUNCTION, $pop56, $pop11 + br_if $pop12, 0 # 0: down to label0 # BB#5: # %lor.lhs.false12 - i64.const $7=, -1 - i32.call $push6=, foo@FUNCTION, $6, $7 - i32.ne $push7=, $pop6, $2 - br_if $pop7, 0 # 0: down to label0 + i64.const $push58=, -9223372036854775808 + i64.const $push57=, -1 + i32.call $push13=, foo@FUNCTION, $pop58, $pop57 + i32.const $push14=, 1 + i32.ne $push15=, $pop13, $pop14 + br_if $pop15, 0 # 0: down to label0 # BB#6: # %lor.lhs.false15 - i64.const $push8=, -9223372036854775807 - i32.call $push9=, foo@FUNCTION, $pop8, $7 - br_if $pop9, 0 # 0: down to label0 + i64.const $push16=, -9223372036854775807 + i64.const $push59=, -1 + i32.call $push17=, foo@FUNCTION, $pop16, $pop59 + br_if $pop17, 0 # 0: down to label0 # BB#7: # %lor.lhs.false18 - i64.const $push10=, -9223372036854773760 - i32.call $push11=, foo@FUNCTION, $pop10, $7 - i32.ne $push12=, $pop11, $2 - br_if $pop12, 0 # 0: down to label0 + i64.const $push18=, -9223372036854773760 + i64.const $push60=, -1 + i32.call $push19=, foo@FUNCTION, $pop18, $pop60 + i32.const $push20=, 1 + i32.ne $push21=, $pop19, $pop20 + br_if $pop21, 0 # 0: down to label0 # BB#8: # %lor.lhs.false21 - i64.const $push13=, -9223372036854773759 - i32.call $push14=, foo@FUNCTION, $pop13, $7 - br_if $pop14, 0 # 0: down to label0 + i64.const $push22=, -9223372036854773759 + i64.const $push61=, -1 + i32.call $push23=, foo@FUNCTION, $pop22, $pop61 + br_if $pop23, 0 # 0: down to label0 # BB#9: # %if.end block - i32.call $push15=, bar@FUNCTION, $0 - i32.ne $push16=, $pop15, $2 - br_if $pop16, 0 # 0: down to label1 + i64.const $push24=, 0 + i32.call $push25=, bar@FUNCTION, $pop24 + i32.const $push26=, 1 + i32.ne $push27=, $pop25, $pop26 + br_if $pop27, 0 # 0: down to label1 # BB#10: # %lor.lhs.false26 - i32.call $push17=, bar@FUNCTION, $3 - br_if $pop17, 0 # 0: down to label1 + i64.const $push28=, 1 + i32.call $push29=, bar@FUNCTION, $pop28 + br_if $pop29, 0 # 0: down to label1 # BB#11: # %lor.lhs.false29 - i32.call $push18=, bar@FUNCTION, $4 - i32.ne $push19=, $pop18, $2 - br_if $pop19, 0 # 0: down to label1 + i64.const $push30=, 2048 + i32.call $push31=, bar@FUNCTION, $pop30 + i32.const $push32=, 1 + i32.ne $push33=, $pop31, $pop32 + br_if $pop33, 0 # 0: down to label1 # BB#12: # %lor.lhs.false32 - i32.call $push20=, bar@FUNCTION, $5 - br_if $pop20, 0 # 0: down to label1 + i64.const $push34=, 2049 + i32.call $push35=, bar@FUNCTION, $pop34 + br_if $pop35, 0 # 0: down to label1 # BB#13: # %lor.lhs.false35 - i64.const $push21=, 2147483648 - i32.call $push22=, bar@FUNCTION, $pop21 - br_if $pop22, 0 # 0: down to label1 + i64.const $push36=, 2147483648 + i32.call $push37=, bar@FUNCTION, $pop36 + br_if $pop37, 0 # 0: down to label1 # BB#14: # %lor.lhs.false38 - i64.const $push23=, -2147483648 - i32.call $push24=, bar@FUNCTION, $pop23 - i32.ne $push25=, $pop24, $2 - br_if $pop25, 0 # 0: down to label1 + i64.const $push38=, -2147483648 + i32.call $push39=, bar@FUNCTION, $pop38 + i32.const $push40=, 1 + i32.ne $push41=, $pop39, $pop40 + br_if $pop41, 0 # 0: down to label1 # BB#15: # %lor.lhs.false41 - i64.const $push26=, -2147483647 - i32.call $push27=, bar@FUNCTION, $pop26 - br_if $pop27, 0 # 0: down to label1 + i64.const $push42=, -2147483647 + i32.call $push43=, bar@FUNCTION, $pop42 + br_if $pop43, 0 # 0: down to label1 # BB#16: # %lor.lhs.false44 - i64.const $push28=, -2147481600 - i32.call $push29=, bar@FUNCTION, $pop28 - i32.ne $push30=, $pop29, $2 - br_if $pop30, 0 # 0: down to label1 + i64.const $push44=, -2147481600 + i32.call $push45=, bar@FUNCTION, $pop44 + i32.const $push46=, 1 + i32.ne $push47=, $pop45, $pop46 + br_if $pop47, 0 # 0: down to label1 # BB#17: # %lor.lhs.false47 - i64.const $push31=, -2147481599 - i32.call $push32=, bar@FUNCTION, $pop31 - br_if $pop32, 0 # 0: down to label1 + i64.const $push48=, -2147481599 + i32.call $push49=, bar@FUNCTION, $pop48 + br_if $pop49, 0 # 0: down to label1 # BB#18: # %if.end51 - i32.const $push33=, 0 - return $pop33 + i32.const $push50=, 0 + return $pop50 .LBB2_19: # %if.then50 end_block # label1: call abort@FUNCTION |