Fix finding of a first match predictor
authorMartin Liska <mliska@suse.cz>
Thu, 16 Jun 2016 19:25:56 +0000 (21:25 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 16 Jun 2016 19:25:56 +0000 (19:25 +0000)
commitc9f4fe73c7ba5238bb8a368e002b12e3238a1a62
tree6b7b963e1b4063bfecd849ef63345af19eccfc0a
parent283635f9bd93d373b93efc1f6ffdd215f93be5fe
Fix finding of a first match predictor

* predict.c (combine_predictions_for_insn): When we find a first
match predictor, we should consider just predictors with
PRED_FLAG_FIRST_MATCH.  Print either first match (if any) or
DS theory predictor.
(combine_predictions_for_bb): Likewise.

From-SVN: r237539
gcc/ChangeLog
gcc/predict.c