summaryrefslogtreecommitdiff
path: root/test/torture-s/pr53465.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr53465.c.s')
-rw-r--r--test/torture-s/pr53465.c.s23
1 files changed, 14 insertions, 9 deletions
diff --git a/test/torture-s/pr53465.c.s b/test/torture-s/pr53465.c.s
index 0c9270bdc..551304ded 100644
--- a/test/torture-s/pr53465.c.s
+++ b/test/torture-s/pr53465.c.s
@@ -11,40 +11,44 @@ foo: # @foo
i32.const $3=, 0
# implicit-def: %vreg19
copy_local $5=, $3
- block .LBB0_6
+ block
i32.le_s $push0=, $1, $3
- br_if $pop0, .LBB0_6
+ br_if $pop0, 0 # 0: down to label0
.LBB0_1: # %for.body
# =>This Inner Loop Header: Depth=1
- loop .LBB0_6
+ loop # label1:
copy_local $2=, $4
i32.load $4=, 0($0)
i32.const $push4=, 0
i32.eq $push5=, $4, $pop4
- br_if $pop5, .LBB0_6
+ br_if $pop5, 1 # 1: down to label2
# BB#2: # %if.end
# in Loop: Header=BB0_1 Depth=1
- block .LBB0_5
+ block
i32.const $push6=, 0
i32.eq $push7=, $5, $pop6
- br_if $pop7, .LBB0_5
+ br_if $pop7, 0 # 0: down to label3
# BB#3: # %if.end
# in Loop: Header=BB0_1 Depth=1
i32.gt_s $push1=, $4, $2
- br_if $pop1, .LBB0_5
+ br_if $pop1, 0 # 0: down to label3
# BB#4: # %if.then3
call abort@FUNCTION
unreachable
.LBB0_5: # %for.cond
# in Loop: Header=BB0_1 Depth=1
+ end_block # label3:
i32.const $push2=, 4
i32.add $0=, $0, $pop2
i32.const $5=, 1
i32.add $3=, $3, $5
i32.lt_s $push3=, $3, $1
- br_if $pop3, .LBB0_1
+ br_if $pop3, 0 # 0: up to label1
.LBB0_6: # %for.end
+ end_loop # label2:
+ end_block # label0:
return
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -57,9 +61,10 @@ main: # @main
# BB#0: # %for.cond.i.1
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