summaryrefslogtreecommitdiff
path: root/test/torture-s/divcmp-3.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/divcmp-3.c.s')
-rw-r--r--test/torture-s/divcmp-3.c.s12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/torture-s/divcmp-3.c.s b/test/torture-s/divcmp-3.c.s
index 4920dae6c..ec60d50fa 100644
--- a/test/torture-s/divcmp-3.c.s
+++ b/test/torture-s/divcmp-3.c.s
@@ -174,15 +174,15 @@ main: # @main
i32.const $0=, -2147483648
.LBB12_1: # %for.body
# =>This Inner Loop Header: Depth=1
- block .LBB12_4
- loop .LBB12_3
+ block
+ loop # label1:
i32.const $push0=, 24
i32.shr_s $push1=, $0, $pop0
i32.const $push2=, -300
i32.add $push3=, $pop1, $pop2
i32.const $push5=, 99
i32.le_u $push6=, $pop3, $pop5
- br_if $pop6, .LBB12_4
+ br_if $pop6, 2 # 2: down to label0
# BB#2: # %for.cond
# in Loop: Header=BB12_1 Depth=1
i32.const $push4=, 1
@@ -191,11 +191,13 @@ main: # @main
i32.add $0=, $0, $pop7
i32.const $push8=, 255
i32.le_s $push9=, $1, $pop8
- br_if $pop9, .LBB12_1
-.LBB12_3: # %for.end
+ br_if $pop9, 0 # 0: up to label1
+# BB#3: # %for.end
+ end_loop # label2:
i32.const $push10=, 0
return $pop10
.LBB12_4: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
.Lfunc_end12: