predict.c: merge multi-edges
authorMartin Liska <mliska@suse.cz>
Wed, 27 Jul 2016 08:46:12 +0000 (10:46 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 27 Jul 2016 08:46:12 +0000 (08:46 +0000)
commit5d9da222b951cced6dcfc4d92bf157bd373d448f
tree7d8dba5eb17e383d3f620bc1617f6a075b0b5109
parentaf9e275f45ee4c1ec23a9701aaceb7fc4c66c184
predict.c: merge multi-edges

* gcc.dg/predict-13.c: New test.
* gcc.dg/predict-14.c: New test.
* predict.c (set_even_probabilities): Handle unlikely edges.
(combine_predictions_for_bb): Likewise.

From-SVN: r238781
gcc/ChangeLog
gcc/predict.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/predict-13.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/predict-14.c [new file with mode: 0644]