summaryrefslogtreecommitdiff
path: root/test/torture-s/pr27285.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr27285.c.s')
-rw-r--r--test/torture-s/pr27285.c.s27
1 files changed, 16 insertions, 11 deletions
diff --git a/test/torture-s/pr27285.c.s b/test/torture-s/pr27285.c.s
index 860215fa7..b52014fd0 100644
--- a/test/torture-s/pr27285.c.s
+++ b/test/torture-s/pr27285.c.s
@@ -9,10 +9,10 @@ foo: # @foo
.local i32, i32, i32, i32, i32
# BB#0: # %entry
i32.load8_u $6=, 1($0)
- block .LBB0_4
+ block
i32.const $push7=, 0
i32.eq $push8=, $6, $pop7
- br_if $pop8, .LBB0_4
+ br_if $pop8, 0 # 0: down to label0
# BB#1: # %while.body.preheader
i32.const $4=, 3
i32.add $5=, $0, $4
@@ -21,7 +21,7 @@ foo: # @foo
i32.sub $0=, $2, $6
.LBB0_2: # %while.body
# =>This Inner Loop Header: Depth=1
- loop .LBB0_4
+ loop # label1:
i32.const $1=, 255
i32.load8_u $push5=, 0($5)
i32.const $push0=, 7
@@ -32,7 +32,7 @@ foo: # @foo
i32.store8 $discard=, 0($4), $pop6
i32.const $push9=, 0
i32.eq $push10=, $0, $pop9
- br_if $pop10, .LBB0_4
+ br_if $pop10, 1 # 1: down to label2
# BB#3: # %while.body
# in Loop: Header=BB0_2 Depth=1
i32.const $1=, 1
@@ -45,9 +45,12 @@ foo: # @foo
copy_local $6=, $1
i32.const $push11=, 0
i32.eq $push12=, $3, $pop11
- br_if $pop12, .LBB0_2
+ br_if $pop12, 0 # 0: up to label1
.LBB0_4: # %while.end
+ end_loop # label2:
+ end_block # label0:
return
+ .endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
@@ -180,12 +183,12 @@ main: # @main
call foo@FUNCTION, $25, $26
i32.const $27=, 0
i32.add $27=, $31, $27
- block .LBB1_5
+ block
i32.or $push72=, $27, $13
i32.load8_u $push73=, 0($pop72)
i32.const $push74=, 170
i32.ne $push75=, $pop73, $pop74
- br_if $pop75, .LBB1_5
+ br_if $pop75, 0 # 0: down to label3
# BB#1: # %lor.lhs.false
i32.const $28=, 0
i32.add $28=, $31, $28
@@ -193,7 +196,7 @@ main: # @main
i32.load8_u $push77=, 0($pop76)
i32.const $push78=, 187
i32.ne $push79=, $pop77, $pop78
- br_if $pop79, .LBB1_5
+ br_if $pop79, 0 # 0: down to label3
# BB#2: # %lor.lhs.false13
i32.const $29=, 0
i32.add $29=, $31, $29
@@ -201,7 +204,7 @@ main: # @main
i32.load8_u $push81=, 0($pop80)
i32.const $push82=, 204
i32.ne $push83=, $pop81, $pop82
- br_if $pop83, .LBB1_5
+ br_if $pop83, 0 # 0: down to label3
# BB#3: # %lor.lhs.false22
i32.const $30=, 0
i32.add $30=, $31, $30
@@ -209,7 +212,7 @@ main: # @main
i32.load8_u $push85=, 0($pop84)
i32.const $push86=, 128
i32.ne $push87=, $pop85, $pop86
- br_if $pop87, .LBB1_5
+ br_if $pop87, 0 # 0: down to label3
# BB#4: # %if.end
i32.const $18=, 48
i32.add $31=, $31, $18
@@ -217,8 +220,10 @@ main: # @main
i32.store $31=, 0($18), $31
return $1
.LBB1_5: # %if.then
+ end_block # label3:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
@@ -232,5 +237,5 @@ main: # @main
.size .Lmain.x, 19
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits