summaryrefslogtreecommitdiff
path: root/test/torture-s/20001024-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20001024-1.c.s')
-rw-r--r--test/torture-s/20001024-1.c.s16
1 files changed, 10 insertions, 6 deletions
diff --git a/test/torture-s/20001024-1.c.s b/test/torture-s/20001024-1.c.s
index 01bcaef0a..a934bb7f2 100644
--- a/test/torture-s/20001024-1.c.s
+++ b/test/torture-s/20001024-1.c.s
@@ -9,28 +9,30 @@ bar: # @bar
.result i32
.local i32
# BB#0: # %entry
- block .LBB0_5
+ block
i32.load $push0=, 0($1)
- br_if $pop0, .LBB0_5
+ br_if $pop0, 0 # 0: down to label0
# BB#1: # %lor.lhs.false
i32.const $3=, 250000
i32.load $push1=, 4($1)
i32.ne $push2=, $pop1, $3
- br_if $pop2, .LBB0_5
+ br_if $pop2, 0 # 0: down to label0
# BB#2: # %lor.lhs.false2
i32.load $push3=, 8($1)
- br_if $pop3, .LBB0_5
+ br_if $pop3, 0 # 0: down to label0
# BB#3: # %lor.lhs.false5
i32.const $push4=, 12
i32.add $push5=, $1, $pop4
i32.load $push6=, 0($pop5)
i32.ne $push7=, $pop6, $3
- br_if $pop7, .LBB0_5
+ br_if $pop7, 0 # 0: down to label0
# BB#4: # %if.end
return $1
.LBB0_5: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size bar, .Lfunc_end0-bar
@@ -41,6 +43,7 @@ bar: # @bar
foo: # @foo
# BB#0: # %bar.exit
return
+ .endfunc
.Lfunc_end1:
.size foo, .Lfunc_end1-foo
@@ -54,9 +57,10 @@ main: # @main
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
+ .endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits