diff options
Diffstat (limited to 'test/torture-s/loop-10.c.s')
-rw-r--r-- | test/torture-s/loop-10.c.s | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/test/torture-s/loop-10.c.s b/test/torture-s/loop-10.c.s index b33b38b72..6fa9ac2e1 100644 --- a/test/torture-s/loop-10.c.s +++ b/test/torture-s/loop-10.c.s @@ -6,17 +6,20 @@ .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32 # BB#0: # %while.end - i32.const $0=, 0 - i32.load $1=, count($0) + i32.const $push5=, 0 + i32.const $push4=, 0 + i32.load $push0=, count($pop4) + tee_local $push3=, $0=, $pop0 + i32.const $push1=, 2 + i32.add $push2=, $pop3, $pop1 + i32.store $discard=, count($pop5), $pop2 block - i32.const $push0=, 2 - i32.add $push1=, $1, $pop0 - i32.store $discard=, count($0), $pop1 - br_if $1, 0 # 0: down to label0 + br_if $0, 0 # 0: down to label0 # BB#1: # %if.end4 - return $0 + i32.const $push6=, 0 + return $pop6 .LBB0_2: # %if.then3 end_block # label0: call abort@FUNCTION |