summaryrefslogtreecommitdiff
path: root/test/torture-s/20100805-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20100805-1.c.s')
-rw-r--r--test/torture-s/20100805-1.c.s14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/torture-s/20100805-1.c.s b/test/torture-s/20100805-1.c.s
index 13f84c4f2..c47006d5b 100644
--- a/test/torture-s/20100805-1.c.s
+++ b/test/torture-s/20100805-1.c.s
@@ -11,22 +11,25 @@ foo: # @foo
# BB#0: # %entry
i32.const $2=, 1
i32.and $0=, $0, $2
- block .LBB0_2
+ block
i32.const $push4=, 0
i32.eq $push5=, $1, $pop4
- br_if $pop5, .LBB0_2
+ br_if $pop5, 0 # 0: down to label0
.LBB0_1: # %for.body
# =>This Inner Loop Header: Depth=1
- loop .LBB0_2
+ loop # label1:
i32.shl $push0=, $0, $2
i32.const $push1=, 31
i32.shr_u $push2=, $0, $pop1
i32.or $0=, $pop0, $pop2
i32.const $push3=, -1
i32.add $1=, $1, $pop3
- br_if $1, .LBB0_1
+ br_if $1, 0 # 0: up to label1
.LBB0_2: # %for.end
+ end_loop # label2:
+ end_block # label0:
return $0
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -39,9 +42,10 @@ main: # @main
# BB#0: # %if.end
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