Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
eedfcb09
Commit
eedfcb09
authored
Nov 22, 2004
by
Devang Patel
Committed by
Devang Patel
Nov 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-if-conv.c (clean_predicate_lists): Clean all basic blocks.
From-SVN: r91045
parent
e0ddb4bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
gcc/ChangeLog
+5
-1
gcc/tree-if-conv.c
+7
-5
No files found.
gcc/ChangeLog
View file @
eedfcb09
2004
-
11
-
16
Devang
Patel
<
dpatel
@
apple
.
com
>
2004
-
11
-
22
Devang
Patel
<
dpatel
@
apple
.
com
>
*
tree
-
if
-
conv
.
c
(
clean_predicate_lists
):
Clean
all
basic
blocks
.
2004
-
11
-
22
Devang
Patel
<
dpatel
@
apple
.
com
>
*
tree
-
if
-
conv
.
c
(
if_convertable_phi_p
):
Rename
to
...
(
if_convertible_phi_p
):
...
new
name
.
...
...
gcc/tree-if-conv.c
View file @
eedfcb09
...
...
@@ -657,11 +657,13 @@ add_to_dst_predicate_list (struct loop * loop, basic_block bb,
static
void
clean_predicate_lists
(
struct
loop
*
loop
)
{
#ifdef ENABLE_CHECKING
gcc_assert
(
loop
->
num_nodes
==
2
||
loop
->
num_nodes
==
1
);
#endif
loop
->
header
->
aux
=
NULL
;
loop
->
latch
->
aux
=
NULL
;
basic_block
*
bb
;
unsigned
int
i
;
bb
=
get_loop_body
(
loop
);
for
(
i
=
0
;
i
<
loop
->
num_nodes
;
i
++
)
bb
[
i
]
->
aux
=
NULL
;
free
(
bb
);
}
/* Basic block BB has two predecessors. Using predecessor's aux field, set
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment