]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* sched-rgn.c (init_regions): Update comment.
authorJ"orn Rennecke <joern.rennecke@superh.com>
Thu, 19 Dec 2002 23:45:40 +0000 (23:45 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 19 Dec 2002 23:45:40 +0000 (23:45 +0000)
From-SVN: r60340

gcc/ChangeLog
gcc/sched-rgn.c

index 512ef01facaf56866d5a14119b7401e48852e6ba..f4f556dc08b17e7383837dfc1588b4a1a5f9da88 100644 (file)
@@ -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.
index 38635522e475ec24a9a0a5f04d48a9166b8821fe..570abacc20bc3d9151e15c77680a923ef5dba296 100644 (file)
@@ -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.  */