summaryrefslogtreecommitdiff
path: root/test/torture-s/20120207-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20120207-1.c.s')
-rw-r--r--test/torture-s/20120207-1.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/20120207-1.c.s b/test/torture-s/20120207-1.c.s
index cfb715d28..fae11ffba 100644
--- a/test/torture-s/20120207-1.c.s
+++ b/test/torture-s/20120207-1.c.s
@@ -14,6 +14,7 @@ test: # @test
i32.add $push3=, $pop1, $pop2
i32.load8_s $push4=, 0($pop3)
return $pop4
+ .endfunc
.Lfunc_end0:
.size test, .Lfunc_end0-test
@@ -24,20 +25,22 @@ test: # @test
main: # @main
.result i32
# BB#0: # %entry
- block .LBB1_2
+ block
i32.const $push0=, 2
i32.call $push1=, test@FUNCTION, $pop0
i32.const $push2=, 255
i32.and $push3=, $pop1, $pop2
i32.const $push4=, 49
i32.ne $push5=, $pop3, $pop4
- br_if $pop5, .LBB1_2
+ br_if $pop5, 0 # 0: down to label0
# BB#1: # %if.end
i32.const $push6=, 0
return $pop6
.LBB1_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
@@ -49,5 +52,5 @@ main: # @main
.size .L.str, 11
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits