summaryrefslogtreecommitdiff
path: root/test/torture-s/20000622-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20000622-1.c.s')
-rw-r--r--test/torture-s/20000622-1.c.s22
1 files changed, 14 insertions, 8 deletions
diff --git a/test/torture-s/20000622-1.c.s b/test/torture-s/20000622-1.c.s
index 269da15af..82ff95f19 100644
--- a/test/torture-s/20000622-1.c.s
+++ b/test/torture-s/20000622-1.c.s
@@ -8,24 +8,26 @@ foo: # @foo
.param i32, i32, i32
.result i32
# BB#0: # %entry
- block .LBB0_4
+ block
i32.const $push0=, 12
i32.ne $push1=, $0, $pop0
- br_if $pop1, .LBB0_4
+ br_if $pop1, 0 # 0: down to label0
# BB#1: # %entry
i32.const $push2=, 1
i32.ne $push3=, $1, $pop2
- br_if $pop3, .LBB0_4
+ br_if $pop3, 0 # 0: down to label0
# BB#2: # %entry
i32.const $push4=, 11
i32.ne $push5=, $2, $pop4
- br_if $pop5, .LBB0_4
+ br_if $pop5, 0 # 0: down to label0
# BB#3: # %if.end
i32.const $push6=, 0
return $pop6
.LBB0_4: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -38,6 +40,7 @@ bar: # @bar
.result i32
# BB#0: # %entry
return $1
+ .endfunc
.Lfunc_end1:
.size bar, .Lfunc_end1-bar
@@ -48,19 +51,21 @@ bar: # @bar
baz: # @baz
.param i32, i32, i32
# BB#0: # %entry
- block .LBB2_3
+ block
i32.const $push0=, 11
i32.ne $push1=, $1, $pop0
- br_if $pop1, .LBB2_3
+ br_if $pop1, 0 # 0: down to label1
# BB#1: # %entry
i32.const $push2=, 12
i32.ne $push3=, $2, $pop2
- br_if $pop3, .LBB2_3
+ br_if $pop3, 0 # 0: down to label1
# BB#2: # %foo.exit
return
.LBB2_3: # %if.then.i
+ end_block # label1:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end2:
.size baz, .Lfunc_end2-baz
@@ -74,9 +79,10 @@ main: # @main
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
+ .endfunc
.Lfunc_end3:
.size main, .Lfunc_end3-main
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits