diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-06-10 18:00:24 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-06-10 16:00:24 +0000 |
commit | 66b4d2611346c270f63a49b778bef0be28f95ccb (patch) | |
tree | 16882eee8ded0ae2c3d85874f4bb2ea7dcbaf17c /gcc/predict.c | |
parent | 2704efe8c461992f8b2f6cacc6d0769c2a8341c3 (diff) | |
download | gcc-66b4d2611346c270f63a49b778bef0be28f95ccb.zip gcc-66b4d2611346c270f63a49b778bef0be28f95ccb.tar.gz gcc-66b4d2611346c270f63a49b778bef0be28f95ccb.tar.bz2 |
predict.c (predict_loops): Remove PRED_LOOP_BRANCH.
* predict.c (predict_loops): Remove PRED_LOOP_BRANCH.
* predict.def (PRED_LOOP_BRANCH): Remove.
From-SVN: r237311
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index 0fa8c5b..7a33984 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -1805,18 +1805,6 @@ predict_loops (void) if (predicted_by_p (bb, PRED_CONTINUE)) continue; - /* Loop branch heuristics - predict an edge back to a - loop's head as taken. */ - if (bb == loop->latch) - { - e = find_edge (loop->latch, loop->header); - if (e) - { - header_found = 1; - predict_edge_def (e, PRED_LOOP_BRANCH, TAKEN); - } - } - /* Loop exit heuristics - predict an edge exiting the loop if the conditional has no loop header successors as not taken. */ if (!header_found |