summaryrefslogtreecommitdiff
path: root/test/torture-s/20040917-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20040917-1.c.s')
-rw-r--r--test/torture-s/20040917-1.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/20040917-1.c.s b/test/torture-s/20040917-1.c.s
index 5bf7cdcd7..9476ca279 100644
--- a/test/torture-s/20040917-1.c.s
+++ b/test/torture-s/20040917-1.c.s
@@ -10,6 +10,7 @@ not_inlinable: # @not_inlinable
i32.const $push1=, -10
i32.store $discard=, test_var($pop0), $pop1
return
+ .endfunc
.Lfunc_end0:
.size not_inlinable, .Lfunc_end0-not_inlinable
@@ -25,20 +26,22 @@ main: # @main
i32.const $push0=, 10
i32.store $1=, test_var($0), $pop0
call not_inlinable@FUNCTION
- block .LBB1_2
+ block
i32.load $push1=, test_var($0)
i32.eq $push2=, $pop1, $1
- br_if $pop2, .LBB1_2
+ br_if $pop2, 0 # 0: down to label0
# BB#1: # %if.end
return $0
.LBB1_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.type test_var,@object # @test_var
.lcomm test_var,4,2
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits