summaryrefslogtreecommitdiff
path: root/test/torture-s/20031204-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20031204-1.c.s')
-rw-r--r--test/torture-s/20031204-1.c.s61
1 files changed, 36 insertions, 25 deletions
diff --git a/test/torture-s/20031204-1.c.s b/test/torture-s/20031204-1.c.s
index 0e56a240e..8de0a365e 100644
--- a/test/torture-s/20031204-1.c.s
+++ b/test/torture-s/20031204-1.c.s
@@ -10,6 +10,7 @@ in_aton: # @in_aton
# BB#0: # %entry
i32.const $push0=, 168496141
return $pop0
+ .endfunc
.Lfunc_end0:
.size in_aton, .Lfunc_end0-in_aton
@@ -27,12 +28,12 @@ root_nfs_parse_addr: # @root_nfs_parse_addr
.LBB1_1: # %while.cond1.preheader
# =>This Loop Header: Depth=1
# Child Loop BB1_2 Depth 2
- loop .LBB1_6
+ loop # label0:
copy_local $7=, $6
.LBB1_2: # %while.cond1
# Parent Loop BB1_1 Depth=1
# => This Inner Loop Header: Depth=2
- loop .LBB1_3
+ loop # label2:
copy_local $2=, $7
i32.load8_u $1=, 0($2)
i32.const $3=, 255
@@ -43,19 +44,20 @@ root_nfs_parse_addr: # @root_nfs_parse_addr
i32.and $push2=, $pop1, $3
i32.const $push3=, 10
i32.lt_u $push4=, $pop2, $pop3
- br_if $pop4, .LBB1_2
-.LBB1_3: # %while.end
+ br_if $pop4, 0 # 0: up to label2
+# BB#3: # %while.end
# in Loop: Header=BB1_1 Depth=1
+ end_loop # label3:
copy_local $9=, $6
i32.eq $push5=, $2, $6
- br_if $pop5, .LBB1_6
+ br_if $pop5, 1 # 1: down to label1
# BB#4: # %lor.lhs.false
# in Loop: Header=BB1_1 Depth=1
i32.const $5=, 3
copy_local $9=, $2
i32.sub $push6=, $2, $6
i32.gt_s $push7=, $pop6, $5
- br_if $pop7, .LBB1_6
+ br_if $pop7, 1 # 1: down to label1
# BB#5: # %if.end
# in Loop: Header=BB1_1 Depth=1
i32.eq $push11=, $8, $5
@@ -68,33 +70,37 @@ root_nfs_parse_addr: # @root_nfs_parse_addr
copy_local $9=, $2
i32.const $push13=, 4
i32.lt_s $push14=, $8, $pop13
- br_if $pop14, .LBB1_1
+ br_if $pop14, 0 # 0: up to label0
.LBB1_6: # %while.end25
+ end_loop # label1:
i32.const $2=, -1
- block .LBB1_11
+ block
i32.const $push15=, 4
i32.ne $push16=, $8, $pop15
- br_if $pop16, .LBB1_11
+ br_if $pop16, 0 # 0: down to label4
# BB#7: # %land.lhs.true
i32.load8_u $7=, 0($9)
- block .LBB1_10
+ block
i32.const $push20=, 0
i32.eq $push21=, $7, $pop20
- br_if $pop21, .LBB1_10
+ br_if $pop21, 0 # 0: down to label5
# BB#8: # %land.lhs.true
i32.const $push17=, 58
i32.ne $push18=, $7, $pop17
- br_if $pop18, .LBB1_11
+ br_if $pop18, 1 # 1: down to label4
# BB#9: # %if.then39
i32.add $2=, $9, $4
i32.const $push19=, 0
i32.store8 $discard=, 0($9), $pop19
copy_local $9=, $2
.LBB1_10: # %if.end41
+ end_block # label5:
i32.call $discard=, strcpy@FUNCTION, $0, $9
i32.const $2=, 168496141
.LBB1_11: # %if.end43
+ end_block # label4:
return $2
+ .endfunc
.Lfunc_end1:
.size root_nfs_parse_addr, .Lfunc_end1-root_nfs_parse_addr
@@ -111,12 +117,12 @@ main: # @main
.LBB2_1: # %while.cond1.preheader.i
# =>This Loop Header: Depth=1
# Child Loop BB2_2 Depth 2
- loop .LBB2_6
+ loop # label6:
copy_local $6=, $5
.LBB2_2: # %while.cond1.i
# Parent Loop BB2_1 Depth=1
# => This Inner Loop Header: Depth=2
- loop .LBB2_3
+ loop # label8:
copy_local $1=, $6
i32.load8_u $0=, 0($1)
i32.const $2=, 255
@@ -127,19 +133,20 @@ main: # @main
i32.and $push2=, $pop1, $2
i32.const $push3=, 10
i32.lt_u $push4=, $pop2, $pop3
- br_if $pop4, .LBB2_2
-.LBB2_3: # %while.end.i
+ br_if $pop4, 0 # 0: up to label8
+# BB#3: # %while.end.i
# in Loop: Header=BB2_1 Depth=1
+ end_loop # label9:
copy_local $8=, $5
i32.eq $push5=, $1, $5
- br_if $pop5, .LBB2_6
+ br_if $pop5, 1 # 1: down to label7
# BB#4: # %lor.lhs.false.i
# in Loop: Header=BB2_1 Depth=1
i32.const $4=, 3
copy_local $8=, $1
i32.sub $push6=, $1, $5
i32.gt_s $push7=, $pop6, $4
- br_if $pop7, .LBB2_6
+ br_if $pop7, 1 # 1: down to label7
# BB#5: # %if.end.i
# in Loop: Header=BB2_1 Depth=1
i32.eq $push11=, $7, $4
@@ -152,35 +159,39 @@ main: # @main
copy_local $8=, $1
i32.const $push13=, 4
i32.lt_s $push14=, $7, $pop13
- br_if $pop14, .LBB2_1
+ br_if $pop14, 0 # 0: up to label6
.LBB2_6: # %while.end25.i
- block .LBB2_11
+ end_loop # label7:
+ block
i32.const $push15=, 4
i32.ne $push16=, $7, $pop15
- br_if $pop16, .LBB2_11
+ br_if $pop16, 0 # 0: down to label10
# BB#7: # %land.lhs.true.i
i32.load8_u $1=, 0($8)
- block .LBB2_10
+ block
i32.const $push22=, 0
i32.eq $push23=, $1, $pop22
- br_if $pop23, .LBB2_10
+ br_if $pop23, 0 # 0: down to label11
# BB#8: # %land.lhs.true.i
i32.const $push17=, 58
i32.ne $push18=, $1, $pop17
- br_if $pop18, .LBB2_11
+ br_if $pop18, 1 # 1: down to label10
# BB#9: # %if.then39.i
i32.add $1=, $8, $3
i32.const $push19=, 0
i32.store8 $discard=, 0($8), $pop19
copy_local $8=, $1
.LBB2_10: # %if.end
+ end_block # label11:
i32.const $push20=, main.addr
i32.call $discard=, strcpy@FUNCTION, $pop20, $8
i32.const $push21=, 0
return $pop21
.LBB2_11: # %if.then
+ end_block # label10:
call abort@FUNCTION
unreachable
+ .endfunc
.Lfunc_end2:
.size main, .Lfunc_end2-main
@@ -192,5 +203,5 @@ main.addr:
.size main.addr, 19
- .ident "clang version 3.8.0 "
+ .ident "clang version 3.9.0 "
.section ".note.GNU-stack","",@progbits