diff options
author | Martin Liska <mliska@suse.cz> | 2018-08-10 11:31:51 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-08-10 09:31:51 +0000 |
commit | 7a096965f668c1d2129c70c92e2398227b97eee6 (patch) | |
tree | 369110415b7ecc35cb7caa2b7a109551fb79b3ed /gcc/builtins.c | |
parent | d568f0b6dbee4079cf19412330a0bbb959d530cf (diff) | |
download | gcc-7a096965f668c1d2129c70c92e2398227b97eee6.zip gcc-7a096965f668c1d2129c70c92e2398227b97eee6.tar.gz gcc-7a096965f668c1d2129c70c92e2398227b97eee6.tar.bz2 |
Strip only selected predictors after early tree passes (PR tree-optimization/85799).
2018-08-10 Martin Liska <mliska@suse.cz>
PR tree-optimization/85799
* passes.def: Add argument for pass_strip_predict_hints.
* predict.c (class pass_strip_predict_hints): Add new argument
early_p.
(strip_predictor_early): New function.
(pass_strip_predict_hints::execute): Call the function to
strip predictors.
(strip_predict_hints): New function.
* predict.def: Fix comment.
2018-08-10 Martin Liska <mliska@suse.cz>
PR tree-optimization/85799
* gcc.dg/pr85799.c: New test.
From-SVN: r263465
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions