summaryrefslogtreecommitdiff
path: root/test/torture-s/pr38236.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr38236.c.s')
-rw-r--r--test/torture-s/pr38236.c.s31
1 files changed, 17 insertions, 14 deletions
diff --git a/test/torture-s/pr38236.c.s b/test/torture-s/pr38236.c.s
index be8d3b0b4..f9e1f33be 100644
--- a/test/torture-s/pr38236.c.s
+++ b/test/torture-s/pr38236.c.s
@@ -12,24 +12,24 @@ foo: # @foo
i32.const $4=, __stack_pointer
i32.load $4=, 0($4)
i32.const $5=, 16
- i32.sub $6=, $4, $5
+ i32.sub $10=, $4, $5
i32.const $5=, __stack_pointer
- i32.store $6=, 0($5), $6
+ i32.store $10=, 0($5), $10
i32.const $7=, 12
- i32.add $7=, $6, $7
+ i32.add $7=, $10, $7
i32.const $8=, 8
- i32.add $8=, $6, $8
+ i32.add $8=, $10, $8
i32.select $push1=, $3, $7, $8
i32.const $push2=, 1
i32.store $discard=, 0($pop1), $pop2
i32.const $9=, 12
- i32.add $9=, $6, $9
+ i32.add $9=, $10, $9
i32.select $push0=, $2, $9, $0
i32.load $push3=, 0($pop0)
i32.const $6=, 16
- i32.add $6=, $6, $6
+ i32.add $10=, $10, $6
i32.const $6=, __stack_pointer
- i32.store $6=, 0($6), $6
+ i32.store $10=, 0($6), $10
return $pop3
.endfunc
.Lfunc_end0:
@@ -41,16 +41,19 @@ foo: # @foo
.type main,@function
main: # @main
.result i32
- .local i32, i32
+ .local i32
# BB#0: # %entry
- i32.const $0=, 1
- i32.const $1=, 0
block
- i32.call $push0=, foo@FUNCTION, $1, $0, $0, $0
- i32.ne $push1=, $pop0, $0
- br_if $pop1, 0 # 0: down to label0
+ i32.const $push5=, 0
+ i32.const $push0=, 1
+ i32.const $push4=, 1
+ i32.call $push1=, foo@FUNCTION, $pop5, $0, $pop0, $pop4
+ i32.const $push3=, 1
+ i32.ne $push2=, $pop1, $pop3
+ br_if $pop2, 0 # 0: down to label0
# BB#1: # %if.end
- return $1
+ i32.const $push6=, 0
+ return $pop6
.LBB1_2: # %if.then
end_block # label0:
call abort@FUNCTION