diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-09-14 20:41:18 +0200 |
---|---|---|
committer | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-09-28 14:10:13 +0200 |
commit | 99c106e695bd8f1de580c4ff0b1d3fe59c9a4f1e (patch) | |
tree | 0d23c96694feb753a909aed32fea3edacc559766 /gcc/tree-ssa-threadupdate.c | |
parent | 3b7041e8345c2f1030e58620f28e22d64b2c196b (diff) | |
download | gcc-99c106e695bd8f1de580c4ff0b1d3fe59c9a4f1e.zip gcc-99c106e695bd8f1de580c4ff0b1d3fe59c9a4f1e.tar.gz gcc-99c106e695bd8f1de580c4ff0b1d3fe59c9a4f1e.tar.bz2 |
reassoc: Do not bias loop-carried PHIs early
Biasing loop-carried PHIs during the 1st reassociation pass interferes
with reduction chains and does not bring measurable benefits, so do it
only during the 2nd reassociation pass.
gcc/ChangeLog:
* passes.def (pass_reassoc): Rename parameter to early_p.
* tree-ssa-reassoc.c (reassoc_bias_loop_carried_phi_ranks_p):
New variable.
(phi_rank): Don't bias loop-carried phi ranks
before vectorization pass.
(execute_reassoc): Add bias_loop_carried_phi_ranks_p parameter.
(pass_reassoc::pass_reassoc): Add bias_loop_carried_phi_ranks_p
initializer.
(pass_reassoc::set_param): Set bias_loop_carried_phi_ranks_p
value.
(pass_reassoc::execute): Pass bias_loop_carried_phi_ranks_p to
execute_reassoc.
(pass_reassoc::bias_loop_carried_phi_ranks_p): New member.
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
0 files changed, 0 insertions, 0 deletions