diff options
Diffstat (limited to 'test/torture-s/loop-11.c.s')
-rw-r--r-- | test/torture-s/loop-11.c.s | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/test/torture-s/loop-11.c.s b/test/torture-s/loop-11.c.s index 68ccf0245..70ce26405 100644 --- a/test/torture-s/loop-11.c.s +++ b/test/torture-s/loop-11.c.s @@ -13,9 +13,10 @@ main: # @main .LBB0_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push7=, -1 - i32.add $2=, $2, $pop7 - i32.store $0=, 0($1), $2 + i32.const $push9=, -1 + i32.add $push8=, $2, $pop9 + tee_local $push7=, $2=, $pop8 + i32.store $0=, 0($1), $pop7 i32.const $push6=, -4 i32.add $1=, $1, $pop6 i32.const $push5=, 0 @@ -23,23 +24,24 @@ main: # @main br_if 0, $pop0 # 0: up to label0 # BB#2: # %for.body.preheader end_loop # label1: - i32.const $2=, 0 - i32.const $1=, a + i32.const $1=, 0 + i32.const $2=, a .LBB0_3: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label3: - i32.load $push1=, 0($1) - i32.ne $push2=, $2, $pop1 + i32.load $push1=, 0($2) + i32.ne $push2=, $1, $pop1 br_if 2, $pop2 # 2: down to label2 # BB#4: # %for.cond # in Loop: Header=BB0_3 Depth=1 - i32.const $push10=, 1 - i32.add $2=, $2, $pop10 - i32.const $push9=, 4 - i32.add $1=, $1, $pop9 - i32.const $push8=, 198 - i32.le_s $push3=, $2, $pop8 + i32.const $push14=, 4 + i32.add $2=, $2, $pop14 + i32.const $push13=, 1 + i32.add $push12=, $1, $pop13 + tee_local $push11=, $1=, $pop12 + i32.const $push10=, 198 + i32.le_s $push3=, $pop11, $pop10 br_if 0, $pop3 # 0: up to label3 # BB#5: # %for.end end_loop # label4: |