summaryrefslogtreecommitdiff
path: root/test/torture-s/pr49281.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr49281.c.s')
-rw-r--r--test/torture-s/pr49281.c.s23
1 files changed, 14 insertions, 9 deletions
diff --git a/test/torture-s/pr49281.c.s b/test/torture-s/pr49281.c.s
index 9c72e3c45..689fc9d58 100644
--- a/test/torture-s/pr49281.c.s
+++ b/test/torture-s/pr49281.c.s
@@ -13,6 +13,7 @@ foo: # @foo
i32.const $push2=, 4
i32.or $push3=, $pop1, $pop2
return $pop3
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -29,6 +30,7 @@ bar: # @bar
i32.const $push2=, 3
i32.or $push3=, $pop1, $pop2
return $pop3
+ .endfunc
.Lfunc_end1:
.size bar, .Lfunc_end1-bar
@@ -41,51 +43,54 @@ main: # @main
.local i32, i32, i32
# BB#0: # %entry
i32.const $0=, 43
- block .LBB2_8
+ block
i32.call $push0=, foo@FUNCTION, $0
i32.const $push1=, 172
i32.ne $push2=, $pop0, $pop1
- br_if $pop2, .LBB2_8
+ br_if $pop2, 0 # 0: down to label0
# BB#1: # %lor.lhs.false
i32.const $1=, 1
i32.call $push3=, foo@FUNCTION, $1
i32.const $push4=, 4
i32.ne $push5=, $pop3, $pop4
- br_if $pop5, .LBB2_8
+ br_if $pop5, 0 # 0: down to label0
# BB#2: # %lor.lhs.false3
i32.const $2=, 2
i32.call $push6=, foo@FUNCTION, $2
i32.const $push7=, 12
i32.ne $push8=, $pop6, $pop7
- br_if $pop8, .LBB2_8
+ br_if $pop8, 0 # 0: down to label0
# BB#3: # %if.end
- block .LBB2_7
+ block
i32.call $push9=, bar@FUNCTION, $0
i32.const $push10=, 175
i32.ne $push11=, $pop9, $pop10
- br_if $pop11, .LBB2_7
+ br_if $pop11, 0 # 0: down to label1
# BB#4: # %lor.lhs.false8
i32.call $push12=, bar@FUNCTION, $1
i32.const $push13=, 7
i32.ne $push14=, $pop12, $pop13
- br_if $pop14, .LBB2_7
+ br_if $pop14, 0 # 0: down to label1
# BB#5: # %lor.lhs.false11
i32.call $push15=, bar@FUNCTION, $2
i32.const $push16=, 11
i32.ne $push17=, $pop15, $pop16
- br_if $pop17, .LBB2_7
+ br_if $pop17, 0 # 0: down to label1
# BB#6: # %if.end15
i32.const $push18=, 0
return $pop18
.LBB2_7: # %if.then14
+ end_block # label1:
call abort@FUNCTION
unreachable
.LBB2_8: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits