summaryrefslogtreecommitdiff
path: root/test/torture-s/20020611-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20020611-1.c.s')
-rw-r--r--test/torture-s/20020611-1.c.s9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/20020611-1.c.s b/test/torture-s/20020611-1.c.s
index f1393ba87..3261cbe93 100644
--- a/test/torture-s/20020611-1.c.s
+++ b/test/torture-s/20020611-1.c.s
@@ -14,6 +14,7 @@ x: # @x
i32.store $push3=, p($0), $pop2
i32.store $discard=, k($0), $pop3
return
+ .endfunc
.Lfunc_end0:
.size x, .Lfunc_end0-x
@@ -26,7 +27,7 @@ main: # @main
.local i32
# BB#0: # %entry
i32.const $0=, 0
- block .LBB1_2
+ block
i32.load $push0=, n($0)
i32.const $push1=, 31
i32.lt_u $push2=, $pop0, $pop1
@@ -34,13 +35,15 @@ main: # @main
i32.store $push4=, k($0), $pop3
i32.const $push5=, 0
i32.eq $push6=, $pop4, $pop5
- br_if $pop6, .LBB1_2
+ br_if $pop6, 0 # 0: down to label0
# BB#1: # %if.end
call exit@FUNCTION, $0
unreachable
.LBB1_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
@@ -72,5 +75,5 @@ k:
.size k, 4
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits