Fix finding of a first match predictor
commit1910963011b66dd58d67df7a5377f131fab8bb1d
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jun 2016 19:25:56 +0000 (16 19:25 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jun 2016 19:25:56 +0000 (16 19:25 +0000)
tree6b7b963e1b4063bfecd849ef63345af19eccfc0a
parentd8a3bc935f7a501c69e2fd08e4139c6013181eb6
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237539 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/predict.c