* predict.c (tree_predict_by_opcode): Call predict_edge_def
instead of predict_edge w/o a probability.
From-SVN: r237481
+2016-06-15 Martin Liska <mliska@suse.cz>
+
+ * predict.c (tree_predict_by_opcode): Call predict_edge_def
+ instead of predict_edge w/o a probability.
+
2016-06-15 Alan Hayward <alan.hayward@arm.com>
PR tree-optimization/71439
predict_edge (then_edge, PRED_BUILTIN_EXPECT, HITRATE (percent));
}
else
- predict_edge (then_edge, predictor,
- integer_zerop (val) ? NOT_TAKEN : TAKEN);
+ predict_edge_def (then_edge, predictor,
+ integer_zerop (val) ? NOT_TAKEN : TAKEN);
}
/* Try "pointer heuristic."
A comparison ptr == 0 is predicted as false.