summaryrefslogtreecommitdiff
path: root/test/torture-s/pr23047.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr23047.c.s')
-rw-r--r--test/torture-s/pr23047.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr23047.c.s b/test/torture-s/pr23047.c.s
index 6aabf26f3..f653a3a42 100644
--- a/test/torture-s/pr23047.c.s
+++ b/test/torture-s/pr23047.c.s
@@ -8,19 +8,21 @@ f: # @f
.param i32
.local i32
# BB#0: # %entry
- block .LBB0_2
+ block
i32.const $push0=, 31
i32.shr_s $1=, $0, $pop0
i32.add $push1=, $0, $1
i32.xor $push2=, $pop1, $1
i32.const $push3=, -1
i32.gt_s $push4=, $pop2, $pop3
- br_if $pop4, .LBB0_2
+ br_if $pop4, 0 # 0: down to label0
# BB#1: # %if.then
return
.LBB0_2: # %if.end
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
@@ -35,9 +37,10 @@ main: # @main
i32.const $push0=, 0
call exit@FUNCTION, $pop0
unreachable
+ .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