* config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2002 07:01:18 +0000 (07:01 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2002 07:01:18 +0000 (07:01 +0000)
        splitting.  Use split_all_insns; update_life_info_in_dirty_blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53544 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/ia64/ia64.c

index d451dc1..b89f5c5 100644 (file)
@@ -1,5 +1,10 @@
 2002-05-16  Richard Henderson  <rth@redhat.com>
 
+       * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before
+       splitting.  Use split_all_insns; update_life_info_in_dirty_blocks.
+
+2002-05-16  Richard Henderson  <rth@redhat.com>
+
        * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
 
        * config/ia64/ia64.c (saveable_obstack): Do not declare.
@@ -64,7 +69,7 @@ config:
        Default-define here.
        (builtin_define_with_value): Can now wrap the expansion in
        quotation marks if such is wanted.
-       (cb_register_builtins): Update calls to builtin_define_with_value.  
+       (cb_register_builtins): Update calls to builtin_define_with_value.
        Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__
        here.
        (c_common_init): Set options->stdc_0_in_system_headers.
@@ -89,7 +94,7 @@ config:
        stdc_0_in_system_headers) too to decide the value of __STDC__.
 
        * tradcpp.c (user_label_prefix): Kill.
-       (main): Remove code handling -f(no-)leading-underscore. 
+       (main): Remove code handling -f(no-)leading-underscore.
        (initialize_builtins): Don't define __REGISTER_PREFIX__
        or __USER_LABEL_PREFIX__.
        (install_value): Wrap compound statement in dummy loop so the
index 6ff749a..562c977 100644 (file)
@@ -6713,15 +6713,16 @@ void
 ia64_reorg (insns)
      rtx insns;
 {
-  /* If optimizing, we'll have split before scheduling.  */
-  if (optimize == 0)
-    split_all_insns_noflow ();
-
   /* We are freeing block_for_insn in the toplev to keep compatibility
      with old MDEP_REORGS that are not CFG based.  Recompute it now.  */
   compute_bb_for_insn (get_max_uid ());
-  /* update_life_info_in_dirty_blocks should be enought here.  */
-  life_analysis (insns, NULL, PROP_DEATH_NOTES);
+
+  /* If optimizing, we'll have split before scheduling.  */
+  if (optimize == 0)
+    split_all_insns (0);
+
+  update_life_info_in_dirty_blocks (UPDATE_LIFE_GLOBAL_RM_NOTES,
+                                   PROP_DEATH_NOTES);
 
   if (ia64_flag_schedule_insns2)
     {