summaryrefslogtreecommitdiff
path: root/gcc/sched-rgn.c
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-19 23:45:40 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-19 23:45:40 +0000
commit0e5a3f19eb4d739e93ec477d747f46e93d15c618 (patch)
tree9a7330ef1808d113f68adac8b7ead9280b04857b /gcc/sched-rgn.c
parent5423cdc447b11cdefaf7ebfcfa7f819b6478e4ac (diff)
downloadgcc-0e5a3f19eb4d739e93ec477d747f46e93d15c618.tar.gz
* sched-rgn.c (init_regions): Update comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60340 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r--gcc/sched-rgn.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c
index 38635522e47..570abacc20b 100644
--- a/gcc/sched-rgn.c
+++ b/gcc/sched-rgn.c
@@ -2909,17 +2909,10 @@ init_regions ()
dominance_info dom;
struct edge_list *edge_list;
- /* The scheduler runs after flow; therefore, we can't blindly call
- back into find_basic_blocks since doing so could invalidate the
- info in global_live_at_start.
-
- Consider a block consisting entirely of dead stores; after life
- analysis it would be a block of NOTE_INSN_DELETED notes. If
- we call find_basic_blocks again, then the block would be removed
- entirely and invalidate our the register live information.
-
- We could (should?) recompute register live information. Doing
- so may even be beneficial. */
+ /* The scheduler runs after estimate_probabilities; therefore, we
+ can't blindly call back into find_basic_blocks since doing so
+ could invalidate the branch probability info. We could,
+ however, call cleanup_cfg. */
edge_list = create_edge_list ();
/* Compute the dominators and post dominators. */