summaryrefslogtreecommitdiff
path: root/test/torture-s/pr63302.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr63302.c.s')
-rw-r--r--test/torture-s/pr63302.c.s47
1 files changed, 26 insertions, 21 deletions
diff --git a/test/torture-s/pr63302.c.s b/test/torture-s/pr63302.c.s
index f3390ff08..6c3c8e8d8 100644
--- a/test/torture-s/pr63302.c.s
+++ b/test/torture-s/pr63302.c.s
@@ -22,6 +22,7 @@ foo: # @foo
i64.eq $push8=, $pop7, $2
i32.or $push9=, $pop2, $pop8
return $pop9
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -41,6 +42,7 @@ bar: # @bar
i64.eq $push4=, $0, $pop3
i32.or $push5=, $pop2, $pop4
return $pop5
+ .endfunc
.Lfunc_end1:
.size bar, .Lfunc_end1-bar
@@ -55,93 +57,96 @@ main: # @main
i64.const $0=, 0
i32.call $1=, foo@FUNCTION, $0, $0
i32.const $2=, 1
- block .LBB2_20
+ block
i32.ne $push0=, $1, $2
- br_if $pop0, .LBB2_20
+ br_if $pop0, 0 # 0: down to label0
# BB#1: # %lor.lhs.false
i64.const $3=, 1
i32.call $push1=, foo@FUNCTION, $3, $0
- br_if $pop1, .LBB2_20
+ br_if $pop1, 0 # 0: down to label0
# BB#2: # %lor.lhs.false3
i64.const $4=, 2048
i32.call $push2=, foo@FUNCTION, $4, $0
i32.ne $push3=, $pop2, $2
- br_if $pop3, .LBB2_20
+ br_if $pop3, 0 # 0: down to label0
# BB#3: # %lor.lhs.false6
i64.const $5=, 2049
i32.call $push4=, foo@FUNCTION, $5, $0
- br_if $pop4, .LBB2_20
+ br_if $pop4, 0 # 0: down to label0
# BB#4: # %lor.lhs.false9
i64.const $6=, -9223372036854775808
i32.call $push5=, foo@FUNCTION, $6, $0
- br_if $pop5, .LBB2_20
+ br_if $pop5, 0 # 0: down to label0
# BB#5: # %lor.lhs.false12
i64.const $7=, -1
i32.call $push6=, foo@FUNCTION, $6, $7
i32.ne $push7=, $pop6, $2
- br_if $pop7, .LBB2_20
+ br_if $pop7, 0 # 0: down to label0
# BB#6: # %lor.lhs.false15
i64.const $push8=, -9223372036854775807
i32.call $push9=, foo@FUNCTION, $pop8, $7
- br_if $pop9, .LBB2_20
+ br_if $pop9, 0 # 0: down to label0
# BB#7: # %lor.lhs.false18
i64.const $push10=, -9223372036854773760
i32.call $push11=, foo@FUNCTION, $pop10, $7
i32.ne $push12=, $pop11, $2
- br_if $pop12, .LBB2_20
+ br_if $pop12, 0 # 0: down to label0
# BB#8: # %lor.lhs.false21
i64.const $push13=, -9223372036854773759
i32.call $push14=, foo@FUNCTION, $pop13, $7
- br_if $pop14, .LBB2_20
+ br_if $pop14, 0 # 0: down to label0
# BB#9: # %if.end
- block .LBB2_19
+ block
i32.call $push15=, bar@FUNCTION, $0
i32.ne $push16=, $pop15, $2
- br_if $pop16, .LBB2_19
+ br_if $pop16, 0 # 0: down to label1
# BB#10: # %lor.lhs.false26
i32.call $push17=, bar@FUNCTION, $3
- br_if $pop17, .LBB2_19
+ br_if $pop17, 0 # 0: down to label1
# BB#11: # %lor.lhs.false29
i32.call $push18=, bar@FUNCTION, $4
i32.ne $push19=, $pop18, $2
- br_if $pop19, .LBB2_19
+ br_if $pop19, 0 # 0: down to label1
# BB#12: # %lor.lhs.false32
i32.call $push20=, bar@FUNCTION, $5
- br_if $pop20, .LBB2_19
+ br_if $pop20, 0 # 0: down to label1
# BB#13: # %lor.lhs.false35
i64.const $push21=, 2147483648
i32.call $push22=, bar@FUNCTION, $pop21
- br_if $pop22, .LBB2_19
+ br_if $pop22, 0 # 0: down to label1
# BB#14: # %lor.lhs.false38
i64.const $push23=, -2147483648
i32.call $push24=, bar@FUNCTION, $pop23
i32.ne $push25=, $pop24, $2
- br_if $pop25, .LBB2_19
+ br_if $pop25, 0 # 0: down to label1
# BB#15: # %lor.lhs.false41
i64.const $push26=, -2147483647
i32.call $push27=, bar@FUNCTION, $pop26
- br_if $pop27, .LBB2_19
+ br_if $pop27, 0 # 0: down to label1
# BB#16: # %lor.lhs.false44
i64.const $push28=, -2147481600
i32.call $push29=, bar@FUNCTION, $pop28
i32.ne $push30=, $pop29, $2
- br_if $pop30, .LBB2_19
+ br_if $pop30, 0 # 0: down to label1
# BB#17: # %lor.lhs.false47
i64.const $push31=, -2147481599
i32.call $push32=, bar@FUNCTION, $pop31
- br_if $pop32, .LBB2_19
+ br_if $pop32, 0 # 0: down to label1
# BB#18: # %if.end51
i32.const $push33=, 0
return $pop33
.LBB2_19: # %if.then50
+ end_block # label1:
call abort@FUNCTION
unreachable
.LBB2_20: # %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