summaryrefslogtreecommitdiff
path: root/test/torture-s/pr61673.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr61673.c.s')
-rw-r--r--test/torture-s/pr61673.c.s37
1 files changed, 22 insertions, 15 deletions
diff --git a/test/torture-s/pr61673.c.s b/test/torture-s/pr61673.c.s
index f33251547..f75ccd476 100644
--- a/test/torture-s/pr61673.c.s
+++ b/test/torture-s/pr61673.c.s
@@ -7,18 +7,19 @@
bar: # @bar
.param i32
# BB#0: # %entry
- block .LBB0_3
+ block
i32.const $push0=, -121
i32.eq $push1=, $0, $pop0
- br_if $pop1, .LBB0_3
+ br_if $pop1, 0 # 0: down to label0
# BB#1: # %entry
i32.const $push2=, 84
i32.eq $push3=, $0, $pop2
- br_if $pop3, .LBB0_3
+ br_if $pop3, 0 # 0: down to label0
# BB#2: # %if.then
call abort@FUNCTION
unreachable
.LBB0_3: # %if.end
+ end_block # label0:
return
.Lfunc_end0:
.size bar, .Lfunc_end0-bar
@@ -31,14 +32,15 @@ foo: # @foo
.param i32
# BB#0: # %entry
i32.load8_s $0=, 0($0)
- block .LBB1_2
+ block
i32.const $push0=, -1
i32.gt_s $push1=, $0, $pop0
- br_if $pop1, .LBB1_2
+ br_if $pop1, 0 # 0: down to label1
# BB#1: # %if.then
i32.const $push2=, 0
i32.store8 $discard=, e($pop2), $0
.LBB1_2: # %if.end
+ end_block # label1:
call bar@FUNCTION, $0
return
.Lfunc_end1:
@@ -52,14 +54,15 @@ baz: # @baz
.param i32
# BB#0: # %entry
i32.load8_s $0=, 0($0)
- block .LBB2_2
+ block
i32.const $push0=, -1
i32.gt_s $push1=, $0, $pop0
- br_if $pop1, .LBB2_2
+ br_if $pop1, 0 # 0: down to label2
# BB#1: # %if.then
i32.const $push2=, 0
i32.store8 $discard=, e($pop2), $0
.LBB2_2: # %if.end
+ end_block # label2:
return
.Lfunc_end2:
.size baz, .Lfunc_end2-baz
@@ -77,43 +80,47 @@ main: # @main
i32.const $push0=, 33
i32.store8 $1=, e($0), $pop0
call foo@FUNCTION, $2
- block .LBB3_8
+ block
i32.load8_u $push1=, e($0)
i32.ne $push2=, $pop1, $1
- br_if $pop2, .LBB3_8
+ br_if $pop2, 0 # 0: down to label3
# BB#1: # %if.end
i32.const $3=, main.c+1
call foo@FUNCTION, $3
i32.const $4=, 135
- block .LBB3_7
+ block
i32.load8_u $push3=, e($0)
i32.ne $push4=, $pop3, $4
- br_if $pop4, .LBB3_7
+ br_if $pop4, 0 # 0: down to label4
# BB#2: # %if.end6
i32.store8 $discard=, e($0), $1
call baz@FUNCTION, $2
- block .LBB3_6
+ block
i32.load8_u $push5=, e($0)
i32.ne $push6=, $pop5, $1
- br_if $pop6, .LBB3_6
+ br_if $pop6, 0 # 0: down to label5
# BB#3: # %if.end11
call baz@FUNCTION, $3
- block .LBB3_5
+ block
i32.load8_u $push7=, e($0)
i32.ne $push8=, $pop7, $4
- br_if $pop8, .LBB3_5
+ br_if $pop8, 0 # 0: down to label6
# BB#4: # %if.end16
return $0
.LBB3_5: # %if.then15
+ end_block # label6:
call abort@FUNCTION
unreachable
.LBB3_6: # %if.then10
+ end_block # label5:
call abort@FUNCTION
unreachable
.LBB3_7: # %if.then5
+ end_block # label4:
call abort@FUNCTION
unreachable
.LBB3_8: # %if.then
+ end_block # label3:
call abort@FUNCTION
unreachable
.Lfunc_end3: