removed unneccessary recalculation of out edges
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 5 Aug 2008 09:15:12 +0000 (09:15 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 5 Aug 2008 09:15:12 +0000 (09:15 +0000)
[r20986]

ir/opt/code_placement.c

index ce708be..1e220e2 100644 (file)
@@ -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. */