summaryrefslogtreecommitdiff
path: root/test/torture-s/pr59221.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr59221.c.s')
-rw-r--r--test/torture-s/pr59221.c.s13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/torture-s/pr59221.c.s b/test/torture-s/pr59221.c.s
index aa271726d..123a9140d 100644
--- a/test/torture-s/pr59221.c.s
+++ b/test/torture-s/pr59221.c.s
@@ -9,18 +9,19 @@ main: # @main
.local i32, i32, i32, i32
# BB#0: # %entry
i32.const $0=, 0
- block .LBB0_2
+ block
i32.load $push0=, b($0)
i32.const $push9=, 0
i32.eq $push10=, $pop0, $pop9
- br_if $pop10, .LBB0_2
+ br_if $pop10, 0 # 0: down to label0
# BB#1: # %for.inc.preheader
i32.store $discard=, b($0), $0
.LBB0_2: # %for.end
+ end_block # label0:
i32.load $1=, a($0)
i32.const $2=, 16
i32.const $3=, 65535
- block .LBB0_4
+ block
i32.and $push3=, $1, $3
i32.shl $push1=, $1, $2
i32.shr_s $push2=, $pop1, $2
@@ -31,12 +32,14 @@ main: # @main
i32.and $push5=, $1, $3
i32.const $push7=, 1
i32.ne $push8=, $pop5, $pop7
- br_if $pop8, .LBB0_4
+ br_if $pop8, 0 # 0: down to label1
# BB#3: # %if.end
return $0
.LBB0_4: # %if.then
+ end_block # label1:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end0:
.size main, .Lfunc_end0-main
@@ -77,5 +80,5 @@ d:
.size d, 4
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits