From 73a92a0b4183c187c230353782e1535b388e07a1 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 5 Aug 2008 09:15:12 +0000 Subject: [PATCH] removed unneccessary recalculation of out edges [r20986] --- ir/opt/code_placement.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/opt/code_placement.c b/ir/opt/code_placement.c index ce708be2c..1e220e20c 100644 --- 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. */ -- 2.20.1