summaryrefslogtreecommitdiff
path: root/test/torture-s/divconst-2.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/divconst-2.c.s')
-rw-r--r--test/torture-s/divconst-2.c.s9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/torture-s/divconst-2.c.s b/test/torture-s/divconst-2.c.s
index ee6d1e6ad..19fa7efaa 100644
--- a/test/torture-s/divconst-2.c.s
+++ b/test/torture-s/divconst-2.c.s
@@ -66,7 +66,7 @@ main: # @main
i32.const $3=, 31
i32.const $4=, 1
i32.const $2=, -2147483648
- block .LBB3_4
+ block
i32.eq $push0=, $1, $2
i32.shl $push8=, $pop0, $3
i32.shr_s $push1=, $1, $3
@@ -78,7 +78,7 @@ main: # @main
i32.sub $push7=, $1, $pop6
i32.add $push9=, $pop8, $pop7
i32.ne $push10=, $pop9, $1
- br_if $pop10, .LBB3_4
+ br_if $pop10, 0 # 0: down to label0
# BB#1: # %for.cond
i32.load $1=, nums+4($0)
i32.eq $push11=, $1, $2
@@ -92,7 +92,7 @@ main: # @main
i32.sub $push18=, $1, $pop17
i32.add $push20=, $pop19, $pop18
i32.ne $push21=, $pop20, $1
- br_if $pop21, .LBB3_4
+ br_if $pop21, 0 # 0: down to label0
# BB#2: # %for.cond.1
i32.load $1=, nums+8($0)
i32.eq $push22=, $1, $2
@@ -106,11 +106,12 @@ main: # @main
i32.sub $push29=, $1, $pop28
i32.add $push31=, $pop30, $pop29
i32.ne $push32=, $pop31, $1
- br_if $pop32, .LBB3_4
+ br_if $pop32, 0 # 0: down to label0
# BB#3: # %for.cond.2
call exit@FUNCTION, $0
unreachable
.LBB3_4: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
.Lfunc_end3: