summaryrefslogtreecommitdiff
path: root/test/torture-s/20071216-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20071216-1.c.s')
-rw-r--r--test/torture-s/20071216-1.c.s20
1 files changed, 13 insertions, 7 deletions
diff --git a/test/torture-s/20071216-1.c.s b/test/torture-s/20071216-1.c.s
index 5a33067c8..8a104f651 100644
--- a/test/torture-s/20071216-1.c.s
+++ b/test/torture-s/20071216-1.c.s
@@ -10,6 +10,7 @@ bar: # @bar
i32.const $push0=, 0
i32.load $push1=, x($pop0)
return $pop1
+ .endfunc
.Lfunc_end0:
.size bar, .Lfunc_end0-bar
@@ -31,6 +32,7 @@ foo: # @foo
i32.select $push6=, $pop3, $pop5, $pop4
i32.select $push7=, $pop1, $0, $pop6
return $pop7
+ .endfunc
.Lfunc_end1:
.size foo, .Lfunc_end1-foo
@@ -50,50 +52,54 @@ main: # @main
i32.const $5=, -1
i32.const $6=, -37
i32.const $3=, -4095
- block .LBB2_6
+ block
i32.lt_u $push1=, $2, $3
i32.eq $push2=, $2, $4
i32.select $push3=, $pop2, $6, $5
i32.select $push4=, $pop1, $2, $pop3
i32.ne $push5=, $pop4, $1
- br_if $pop5, .LBB2_6
+ br_if $pop5, 0 # 0: down to label0
# BB#1: # %if.end
i32.const $push6=, -39
i32.store $discard=, x($0), $pop6
i32.call $2=, bar@FUNCTION
- block .LBB2_5
+ block
i32.lt_u $push7=, $2, $3
i32.eq $push8=, $2, $4
i32.select $push9=, $pop8, $6, $5
i32.select $push10=, $pop7, $2, $pop9
i32.ne $push11=, $pop10, $5
- br_if $pop11, .LBB2_5
+ br_if $pop11, 0 # 0: down to label1
# BB#2: # %if.end4
i32.store $discard=, x($0), $4
i32.call $2=, bar@FUNCTION
- block .LBB2_4
+ block
i32.lt_u $push12=, $2, $3
i32.eq $push13=, $2, $4
i32.select $push14=, $pop13, $6, $5
i32.select $push15=, $pop12, $2, $pop14
i32.ne $push16=, $pop15, $6
- br_if $pop16, .LBB2_4
+ br_if $pop16, 0 # 0: down to label2
# BB#3: # %if.end8
return $0
.LBB2_4: # %if.then7
+ end_block # label2:
call abort@FUNCTION
unreachable
.LBB2_5: # %if.then3
+ end_block # label1:
call abort@FUNCTION
unreachable
.LBB2_6: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
.type x,@object # @x
.lcomm x,4,2
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits