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
af5d3a18
Commit
af5d3a18
authored
Mar 21, 2005
by
Kazu Hirata
Committed by
Kazu Hirata
Mar 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-into-ssa.c: Remove obsolete comments.
From-SVN: r96813
parent
14bfd7c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
gcc/ChangeLog
+4
-0
gcc/tree-into-ssa.c
+3
-6
No files found.
gcc/ChangeLog
View file @
af5d3a18
2005-03-21 Kazu Hirata <kazu@cs.umass.edu>
* tree-into-ssa.c: Remove obsolete comments.
2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
* tree-ssa-loop.c (gate_tree_complete_unroll): Run complete
* tree-ssa-loop.c (gate_tree_complete_unroll): Run complete
...
...
gcc/tree-into-ssa.c
View file @
af5d3a18
...
@@ -1271,9 +1271,8 @@ mark_def_site_blocks (void)
...
@@ -1271,9 +1271,8 @@ mark_def_site_blocks (void)
those variables are removed from the flow graph so that they can
those variables are removed from the flow graph so that they can
be computed again.
be computed again.
2- Compute dominance frontier and immediate dominators, needed to
2- Compute dominance frontier, needed to insert PHI nodes and
insert PHI nodes and rename the function in dominator tree
rename the function in dominator tree order.
order.
3- Find and mark all the blocks that define variables
3- Find and mark all the blocks that define variables
(mark_def_site_blocks).
(mark_def_site_blocks).
...
@@ -1319,9 +1318,7 @@ rewrite_into_ssa (bool all)
...
@@ -1319,9 +1318,7 @@ rewrite_into_ssa (bool all)
mark_def_site_blocks
();
mark_def_site_blocks
();
/* Initialize dominance frontier and immediate dominator bitmaps.
/* Initialize dominance frontier. */
Also count the number of predecessors for each block. Doing so
can save significant time during PHI insertion for large graphs. */
dfs
=
(
bitmap
*
)
xmalloc
(
last_basic_block
*
sizeof
(
bitmap
*
));
dfs
=
(
bitmap
*
)
xmalloc
(
last_basic_block
*
sizeof
(
bitmap
*
));
FOR_EACH_BB
(
bb
)
FOR_EACH_BB
(
bb
)
dfs
[
bb
->
index
]
=
BITMAP_ALLOC
(
NULL
);
dfs
[
bb
->
index
]
=
BITMAP_ALLOC
(
NULL
);
...
...
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