summaryrefslogtreecommitdiff
path: root/test/torture-s/pr31605.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr31605.c.s')
-rw-r--r--test/torture-s/pr31605.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr31605.c.s b/test/torture-s/pr31605.c.s
index 783370661..87c55d605 100644
--- a/test/torture-s/pr31605.c.s
+++ b/test/torture-s/pr31605.c.s
@@ -9,17 +9,19 @@ put_field: # @put_field
.local i32
# BB#0: # %entry
i32.const $2=, -8
- block .LBB0_2
+ block
i32.add $push0=, $1, $0
i32.or $push1=, $pop0, $2
i32.ne $push2=, $pop1, $2
- br_if $pop2, .LBB0_2
+ br_if $pop2, 0 # 0: down to label0
# BB#1: # %if.end
return
.LBB0_2: # %if.then
+ end_block # label0:
i32.const $push3=, 0
call exit@FUNCTION, $pop3
unreachable
+ .endfunc
.Lfunc_end0:
.size put_field, .Lfunc_end0-put_field
@@ -33,9 +35,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