summaryrefslogtreecommitdiff
path: root/test/torture-s/20050124-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20050124-1.c.s')
-rw-r--r--test/torture-s/20050124-1.c.s16
1 files changed, 10 insertions, 6 deletions
diff --git a/test/torture-s/20050124-1.c.s b/test/torture-s/20050124-1.c.s
index b5e2d2793..63458b584 100644
--- a/test/torture-s/20050124-1.c.s
+++ b/test/torture-s/20050124-1.c.s
@@ -9,28 +9,31 @@ foo: # @foo
.result i32
.local i32
# BB#0: # %entry
- block .LBB0_4
+ block
i32.const $push0=, 1
i32.add $2=, $0, $pop0
i32.const $push7=, 0
i32.eq $push8=, $1, $pop7
- br_if $pop8, .LBB0_4
+ br_if $pop8, 0 # 0: down to label0
# BB#1: # %if.then
- block .LBB0_3
+ block
i32.const $push1=, 0
i32.lt_s $push2=, $0, $pop1
- br_if $pop2, .LBB0_3
+ br_if $pop2, 0 # 0: down to label1
# BB#2: # %if.then1
i32.const $push6=, 2
i32.add $2=, $0, $pop6
- br .LBB0_4
+ br 1 # 1: down to label0
.LBB0_3: # %if.else
+ end_block # label1:
i32.const $push3=, -1
i32.lt_s $push4=, $0, $pop3
i32.select $push5=, $pop4, $0, $2
return $pop5
.LBB0_4: # %if.end5
+ end_block # label0:
return $2
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -43,9 +46,10 @@ main: # @main
# BB#0: # %if.end28
i32.const $push0=, 0
return $pop0
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits