summaryrefslogtreecommitdiff
path: root/test/torture-s/loop-2.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/loop-2.c.s')
-rw-r--r--test/torture-s/loop-2.c.s10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/torture-s/loop-2.c.s b/test/torture-s/loop-2.c.s
index 28ba25ee8..c976cbc94 100644
--- a/test/torture-s/loop-2.c.s
+++ b/test/torture-s/loop-2.c.s
@@ -11,13 +11,13 @@ f: # @f
# BB#0: # %entry
i32.const $2=, 0
i32.const $1=, a
- block .LBB0_2
+ block
i32.const $push5=, 0
i32.eq $push6=, $0, $pop5
- br_if $pop6, .LBB0_2
+ br_if $pop6, 0 # 0: down to label0
.LBB0_1: # %for.body
# =>This Inner Loop Header: Depth=1
- loop .LBB0_2
+ loop # label1:
i32.const $push0=, -2
i32.add $push1=, $2, $pop0
i32.store $discard=, 0($1), $pop1
@@ -26,8 +26,10 @@ f: # @f
i32.const $push3=, 4
i32.add $1=, $1, $pop3
i32.ne $push4=, $0, $2
- br_if $pop4, .LBB0_1
+ br_if $pop4, 0 # 0: up to label1
.LBB0_2: # %for.end
+ end_loop # label2:
+ end_block # label0:
return $2
.Lfunc_end0:
.size f, .Lfunc_end0-f