diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-08-02 20:40:10 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-08-02 20:40:10 +0000 |
commit | 8e6ecdc0ad4533626d35206318b254b76748e370 (patch) | |
tree | 26ce6be95c6aa534a40bca0c36af79350a8e824b /gcc/reorg.c | |
parent | 77b5132f66c51aa41245f9b9f110141bd1629df5 (diff) | |
download | gcc-8e6ecdc0ad4533626d35206318b254b76748e370.tar.gz |
reorg.c (dbr_schedule): Delete REG_BR_PRED loop.
gcc/
* reorg.c (dbr_schedule): Delete REG_BR_PRED loop.
From-SVN: r190101
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 667dca1821e..d7180267663 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -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 |