summaryrefslogtreecommitdiff
path: root/test/torture-s/pr19005.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr19005.c.s')
-rw-r--r--test/torture-s/pr19005.c.s39
1 files changed, 17 insertions, 22 deletions
diff --git a/test/torture-s/pr19005.c.s b/test/torture-s/pr19005.c.s
index 9f15594ac..3e168842d 100644
--- a/test/torture-s/pr19005.c.s
+++ b/test/torture-s/pr19005.c.s
@@ -88,67 +88,62 @@ foo: # @foo
block
block
block
- block
i32.const $push19=, 0
i32.load $push18=, s($pop19)
tee_local $push17=, $4=, $pop18
i32.const $push31=, 0
i32.eq $push32=, $pop17, $pop31
- br_if 0, $pop32 # 0: down to label9
+ br_if 0, $pop32 # 0: down to label8
# BB#1: # %if.else.i
i32.ne $push3=, $0, $2
- br_if 5, $pop3 # 5: down to label4
+ br_if 3, $pop3 # 3: down to label5
# BB#2: # %if.else.i
i32.const $push29=, 1
i32.add $push2=, $3, $pop29
i32.const $push28=, 255
i32.and $3=, $pop2, $pop28
i32.ne $push4=, $3, $1
- br_if 5, $pop4 # 5: down to label4
+ br_if 3, $pop4 # 3: down to label5
# BB#3: # %bar.exit
i32.const $push7=, 0
i32.const $push5=, 1
i32.xor $push6=, $4, $pop5
i32.store $push8=, s($pop7), $pop6
- br_if 1, $pop8 # 1: down to label8
- br 2 # 2: down to label7
+ br_if 1, $pop8 # 1: down to label7
+ br 2 # 2: down to label6
.LBB1_4: # %if.then.i
- end_block # label9:
+ end_block # label8:
i32.ne $push9=, $0, $1
- br_if 2, $pop9 # 2: down to label6
+ br_if 3, $pop9 # 3: down to label4
# BB#5: # %lor.lhs.false.i
i32.const $push26=, 1
i32.add $push10=, $3, $pop26
i32.const $push11=, 255
i32.and $3=, $pop10, $pop11
i32.ne $push12=, $3, $2
- br_if 2, $pop12 # 2: down to label6
+ br_if 3, $pop12 # 3: down to label4
# BB#6: # %bar.exit.thread
i32.const $push13=, 0
i32.const $push27=, 1
i32.store $discard=, s($pop13), $pop27
.LBB1_7: # %if.else.i40
- end_block # label8:
+ end_block # label7:
i32.ne $push14=, $0, $1
- br_if 2, $pop14 # 2: down to label5
+ br_if 1, $pop14 # 1: down to label5
# BB#8: # %if.else.i40
i32.ne $push15=, $3, $2
- br_if 2, $pop15 # 2: down to label5
+ br_if 1, $pop15 # 1: down to label5
.LBB1_9: # %bar.exit43
- end_block # label7:
+ end_block # label6:
i32.const $push16=, 0
i32.store $discard=, s($pop16), $4
i32.const $push30=, 0
return $pop30
-.LBB1_10: # %if.then8.i
- end_block # label6:
- call abort@FUNCTION
- unreachable
-.LBB1_11: # %if.then19.i41
+.LBB1_10: # %if.then19.i41
end_block # label5:
call abort@FUNCTION
unreachable
-.LBB1_12: # %if.then19.i
+.LBB1_11: # %if.then8.i
end_block # label4:
call abort@FUNCTION
unreachable
@@ -169,7 +164,7 @@ main: # @main
i32.store $0=, v($pop5), $pop1
.LBB2_1: # %for.body
# =>This Inner Loop Header: Depth=1
- loop # label10:
+ loop # label9:
i32.call $discard=, foo@FUNCTION, $0
i32.const $push9=, 0
i32.const $push8=, 0
@@ -179,9 +174,9 @@ main: # @main
i32.store $0=, v($pop9), $pop0
i32.const $push6=, 266
i32.lt_s $push3=, $0, $pop6
- br_if 0, $pop3 # 0: up to label10
+ br_if 0, $pop3 # 0: up to label9
# BB#2: # %for.end
- end_loop # label11:
+ end_loop # label10:
i32.const $push4=, 0
return $pop4
.endfunc