aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@superh.com>2002-12-19 23:45:40 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2002-12-19 23:45:40 +0000
commitb2dfd40f472d34141d32e9062e3553f1e8a9e3e5 (patch)
tree9a7330ef1808d113f68adac8b7ead9280b04857b /gcc
parent310b9b1d761dd294d9dd36d729a5be98e688ad0f (diff)
downloadgcc-b2dfd40f472d34141d32e9062e3553f1e8a9e3e5.zip
gcc-b2dfd40f472d34141d32e9062e3553f1e8a9e3e5.tar.gz
gcc-b2dfd40f472d34141d32e9062e3553f1e8a9e3e5.tar.bz2
* sched-rgn.c (init_regions): Update comment.
From-SVN: r60340
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/sched-rgn.c15
2 files changed, 8 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 512ef01..f4f556d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Thu Dec 19 23:44:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * sched-rgn.c (init_regions): Update comment.
+
2002-12-19 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (define_attr type): Remove altivec.
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c
index 3863552..570abac 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. */