diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-06-26 22:03:35 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-06-26 20:03:35 +0000 |
commit | 9bb86f403f3085d0d9b344127f7603d4559370a5 (patch) | |
tree | 758291fab73082c64f9ab653eec592aa1da221c4 /gcc/c | |
parent | 445f9a500ddf8fd6673e87b525c8f38cd742af26 (diff) | |
download | gcc-9bb86f403f3085d0d9b344127f7603d4559370a5.zip gcc-9bb86f403f3085d0d9b344127f7603d4559370a5.tar.gz gcc-9bb86f403f3085d0d9b344127f7603d4559370a5.tar.bz2 |
predict-12.c: New testcase.
* gcc.dg/predict-12.c: New testcase.
* predict.c: Include gimple-pretty-print.h
(predicted_by_loop_heuristics_p): Check also
PRED_LOOP_EXIT_WITH_RECURSION
(predict_loops): Find self recursive calls and use special purpose
predictors for them; dump log about decisions.
(pass_profile::execute): Dump info about #of iterations.
* predict.def (PRED_LOOP_EXIT_WITH_RECURSION,
(PRED_LOOP_GUARD_WITH_RECURSION): New predictors.
From-SVN: r237791
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions