summaryrefslogtreecommitdiff
path: root/test/torture-s/pr23604.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr23604.c.s')
-rw-r--r--test/torture-s/pr23604.c.s16
1 files changed, 10 insertions, 6 deletions
diff --git a/test/torture-s/pr23604.c.s b/test/torture-s/pr23604.c.s
index b2332bd70..43032fb89 100644
--- a/test/torture-s/pr23604.c.s
+++ b/test/torture-s/pr23604.c.s
@@ -10,20 +10,23 @@ g: # @g
.local i32
# BB#0: # %entry
i32.const $2=, 1
- block .LBB0_4
- block .LBB0_3
+ block
+ block
i32.gt_u $push0=, $0, $2
- br_if $pop0, .LBB0_3
+ br_if $pop0, 0 # 0: down to label1
# BB#1: # %if.then2
i32.eq $push1=, $0, $1
- br_if $pop1, .LBB0_3
+ br_if $pop1, 0 # 0: down to label1
# BB#2: # %if.then2
i32.const $0=, 0
- br_if $1, .LBB0_4
+ br_if $1, 1 # 1: down to label0
.LBB0_3: # %if.end9
+ end_block # label1:
copy_local $0=, $2
.LBB0_4: # %return
+ end_block # label0:
return $0
+ .endfunc
.Lfunc_end0:
.size g, .Lfunc_end0-g
@@ -36,9 +39,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