Really commit patch announced at Oct 14 PR c/7344
commit2ffa993239e53b8a905c7761c1f065d24f74556e
authorJan Hubicka <jh@suse.cz>
Thu, 17 Oct 2002 13:54:32 +0000 (17 15:54 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 17 Oct 2002 13:54:32 +0000 (17 13:54 +0000)
treeeec33f64b6ca8a24f1836169b02e799c86f22c09
parentb216f69b04b7fea3c554235274820eb9ec2ebf7f
Really commit patch announced at Oct 14 PR c/7344

Really commit patch announced at Oct 14
PR c/7344
* predict.c (can_predict_insn_p): New function.
(estimate_probability): Avoid unnecesary work.
(process_note_prediction): Likewise.
* toplev.c (rest_of_compilation): Account early branch prediction pass
as TV_BRANCH_PROB.

From-SVN: r58246
gcc/ChangeLog
gcc/predict.c
gcc/toplev.c