]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Aug 2012 20:40:10 +0000 (20:40 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Aug 2012 20:40:10 +0000 (20:40 +0000)
* reorg.c (dbr_schedule): Delete REG_BR_PRED loop.

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

gcc/ChangeLog
gcc/reorg.c

index d0929184b946b4705a17424231c3b9a208c182d9..edecc9728f521fdd5853465a3791b3e2e8b7326a 100644 (file)
@@ -1,3 +1,7 @@
+2012-08-02  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * reorg.c (dbr_schedule): Delete REG_BR_PRED loop.
+
 2012-08-02  Marc Glisse  <marc.glisse@inria.fr>
 
        PR tree-optimization/53805
index 667dca1821e460c5cfa9ba11b621f59b1aca9bfd..d71802676637904b019910933e74304dcde976d2 100644 (file)
@@ -4054,28 +4054,6 @@ dbr_schedule (rtx first)
       fprintf (dump_file, "\n");
     }
 
-  /* For all JUMP insns, fill in branch prediction notes, so that during
-     assembler output a target can set branch prediction bits in the code.
-     We have to do this now, as up until this point the destinations of
-     JUMPS can be moved around and changed, but past right here that cannot
-     happen.  */
-  for (insn = first; insn; insn = NEXT_INSN (insn))
-    {
-      int pred_flags;
-
-      if (NONJUMP_INSN_P (insn))
-       {
-         rtx pat = PATTERN (insn);
-
-         if (GET_CODE (pat) == SEQUENCE)
-           insn = XVECEXP (pat, 0, 0);
-       }
-      if (!JUMP_P (insn))
-       continue;
-
-      pred_flags = get_jump_flags (insn, JUMP_LABEL (insn));
-      add_reg_note (insn, REG_BR_PRED, GEN_INT (pred_flags));
-    }
   free_resource_info ();
   free (uid_to_ruid);
 #ifdef DELAY_SLOTS_FOR_EPILOGUE