summaryrefslogtreecommitdiff
path: root/test/torture-s/pr57875.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr57875.c.s')
-rw-r--r--test/torture-s/pr57875.c.s32
1 files changed, 19 insertions, 13 deletions
diff --git a/test/torture-s/pr57875.c.s b/test/torture-s/pr57875.c.s
index 17c70d693..73ac05361 100644
--- a/test/torture-s/pr57875.c.s
+++ b/test/torture-s/pr57875.c.s
@@ -10,48 +10,53 @@ main: # @main
# BB#0: # %entry
i32.const $3=, 0
i32.load $5=, i($3)
- block .LBB0_9
+ block
i32.gt_s $push0=, $5, $3
- br_if $pop0, .LBB0_9
+ br_if $pop0, 0 # 0: down to label0
# BB#1: # %for.body.lr.ph
i32.load $0=, d($3)
i32.load $1=, c($3)
.LBB0_2: # %for.body
# =>This Inner Loop Header: Depth=1
- loop .LBB0_8
- block .LBB0_7
- br_if $0, .LBB0_7
+ loop # label1:
+ block
+ br_if $0, 0 # 0: down to label3
# BB#3: # %if.then
# in Loop: Header=BB0_2 Depth=1
- block .LBB0_6
- block .LBB0_5
+ block
+ block
i32.const $push14=, 0
i32.eq $push15=, $1, $pop14
- br_if $pop15, .LBB0_5
+ br_if $pop15, 0 # 0: down to label5
# BB#4: # %if.then.if.end_crit_edge
# in Loop: Header=BB0_2 Depth=1
i32.load $2=, f($3)
- br .LBB0_6
+ br 1 # 1: down to label4
.LBB0_5: # %if.then2
# in Loop: Header=BB0_2 Depth=1
+ end_block # label5:
i32.const $push1=, 2
i32.store $2=, f($3), $pop1
.LBB0_6: # %if.end
# in Loop: Header=BB0_2 Depth=1
+ end_block # label4:
i32.load8_u $push2=, e($3)
i32.and $push3=, $pop2, $2
i32.store8 $discard=, e($3), $pop3
.LBB0_7: # %for.inc
# in Loop: Header=BB0_2 Depth=1
+ end_block # label3:
i32.const $push4=, 1
i32.add $2=, $5, $pop4
i32.lt_s $4=, $5, $3
copy_local $5=, $2
- br_if $4, .LBB0_2
-.LBB0_8: # %for.cond.for.end_crit_edge
+ br_if $4, 0 # 0: up to label1
+# BB#8: # %for.cond.for.end_crit_edge
+ end_loop # label2:
i32.store $discard=, i($3), $2
.LBB0_9: # %for.end
- block .LBB0_11
+ end_block # label0:
+ block
i32.const $push10=, a
i32.load8_u $push5=, e($3)
i32.const $push6=, 1
@@ -61,10 +66,11 @@ main: # @main
i32.add $push11=, $pop10, $pop9
i32.load $push12=, 0($pop11)
i32.store $push13=, b($3), $pop12
- br_if $pop13, .LBB0_11
+ br_if $pop13, 0 # 0: down to label6
# BB#10: # %if.end10
return $3
.LBB0_11: # %if.then9
+ end_block # label6:
call abort@FUNCTION
unreachable
.Lfunc_end0: