diff options
Diffstat (limited to 'test/torture-s/doloop-2.c.s')
-rw-r--r-- | test/torture-s/doloop-2.c.s | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/torture-s/doloop-2.c.s b/test/torture-s/doloop-2.c.s index 7175d94b6..80ac999e9 100644 --- a/test/torture-s/doloop-2.c.s +++ b/test/torture-s/doloop-2.c.s @@ -12,7 +12,7 @@ main: # @main copy_local $1=, $0 .LBB0_1: # %do.body # =>This Inner Loop Header: Depth=1 - loop .LBB0_2 + loop # label0: i32.load $push0=, i($0) i32.const $push1=, 1 i32.add $push2=, $pop0, $pop1 @@ -21,18 +21,20 @@ main: # @main i32.add $1=, $1, $pop3 i32.const $push4=, 65535 i32.and $push5=, $1, $pop4 - br_if $pop5, .LBB0_1 -.LBB0_2: # %do.end + br_if $pop5, 0 # 0: up to label0 +# BB#2: # %do.end + end_loop # label1: i32.const $1=, 0 - block .LBB0_4 + block i32.load $push6=, i($1) i32.const $push7=, 65536 i32.ne $push8=, $pop6, $pop7 - br_if $pop8, .LBB0_4 + br_if $pop8, 0 # 0: down to label2 # BB#3: # %if.end call exit@FUNCTION, $1 unreachable .LBB0_4: # %if.then + end_block # label2: call abort@FUNCTION unreachable .Lfunc_end0: |