projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd1ec1a
)
removed unneccessary recalculation of out edges
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 5 Aug 2008 09:15:12 +0000
(09:15 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 5 Aug 2008 09:15:12 +0000
(09:15 +0000)
[r20986]
ir/opt/code_placement.c
patch
|
blob
|
history
diff --git
a/ir/opt/code_placement.c
b/ir/opt/code_placement.c
index
ce708be
..
1e220e2
100644
(file)
--- a/
ir/opt/code_placement.c
+++ b/
ir/opt/code_placement.c
@@
-523,8
+523,8
@@
void place_code(ir_graph *irg) {
worklist = new_waitq();
place_early(worklist);
- /*
place_early() invalidates the outs, place_late needs them. */
- compute_irg_outs(irg);
+ /*
Note: place_early changes only blocks, no data edges. So, the
+ * data out edges are still valid, no need to recalculate them here. */
/* Now move the nodes down in the dominator tree. This reduces the
unnecessary executions of the node. */