summaryrefslogtreecommitdiff
path: root/test/torture-s/20060110-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20060110-1.c.s')
-rw-r--r--test/torture-s/20060110-1.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/20060110-1.c.s b/test/torture-s/20060110-1.c.s
index 397f7e8e3..67c318c03 100644
--- a/test/torture-s/20060110-1.c.s
+++ b/test/torture-s/20060110-1.c.s
@@ -13,6 +13,7 @@ f: # @f
i64.shl $push0=, $0, $1
i64.shr_s $push1=, $pop0, $1
return $pop1
+ .endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
@@ -25,16 +26,18 @@ main: # @main
.local i32
# BB#0: # %entry
i32.const $0=, 0
- block .LBB1_2
+ block
i64.load32_s $push0=, a($0)
i64.load $push1=, b($0)
i64.ne $push2=, $pop0, $pop1
- 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
@@ -57,5 +60,5 @@ b:
.size b, 8
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits