summaryrefslogtreecommitdiff
path: root/test/torture-s/packed-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/packed-1.c.s')
-rw-r--r--test/torture-s/packed-1.c.s14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/torture-s/packed-1.c.s b/test/torture-s/packed-1.c.s
index 3aef3ed66..c8c0cf406 100644
--- a/test/torture-s/packed-1.c.s
+++ b/test/torture-s/packed-1.c.s
@@ -9,17 +9,19 @@ f: # @f
.local i32
# BB#0: # %entry
i32.const $0=, 0
- block .LBB0_2
+ block
i32.load16_u $push0=, x1($0)
i32.store16 $push1=, t($0), $pop0
i32.const $push2=, 17
i32.ne $push3=, $pop1, $pop2
- br_if $pop3, .LBB0_2
+ br_if $pop3, 0 # 0: down to label0
# BB#1: # %if.end
return $0
.LBB0_2: # %if.then
+ end_block # label0:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size f, .Lfunc_end0-f
@@ -32,18 +34,20 @@ main: # @main
.local i32
# BB#0: # %entry
i32.const $0=, 0
- block .LBB1_2
+ block
i32.load16_u $push0=, x1($0)
i32.store16 $push1=, t($0), $pop0
i32.const $push2=, 17
i32.ne $push3=, $pop1, $pop2
- br_if $pop3, .LBB1_2
+ br_if $pop3, 0 # 0: down to label1
# BB#1: # %f.exit
call exit@FUNCTION, $0
unreachable
.LBB1_2: # %if.then.i
+ end_block # label1:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
@@ -66,5 +70,5 @@ t:
.size t, 2
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits