summaryrefslogtreecommitdiff
path: root/test/torture-s/loop-10.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/loop-10.c.s')
-rw-r--r--test/torture-s/loop-10.c.s8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/torture-s/loop-10.c.s b/test/torture-s/loop-10.c.s
index 74fe83e91..431d2346a 100644
--- a/test/torture-s/loop-10.c.s
+++ b/test/torture-s/loop-10.c.s
@@ -10,21 +10,23 @@ main: # @main
# BB#0: # %while.end
i32.const $0=, 0
i32.load $1=, count($0)
- block .LBB0_2
+ block
i32.const $push0=, 2
i32.add $push1=, $1, $pop0
i32.store $discard=, count($0), $pop1
- br_if $1, .LBB0_2
+ br_if $1, 0 # 0: down to label0
# BB#1: # %if.end4
return $0
.LBB0_2: # %if.then3
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
.type count,@object # @count
.lcomm count,4,2
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits