diff options
author | Andrew Pinski <apinski@marvell.com> | 2021-06-11 13:21:34 -0700 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2021-07-05 12:44:14 -0700 |
commit | cd48e550d1dc58307ab1c0ab490745673f748ccc (patch) | |
tree | 3cc79c19b9c2703ad8557d38a66c53d010fe6e85 /gcc/tree-ssa-alias.c | |
parent | 3c44b412fec8d5ab7fc064065414314a8ae05c87 (diff) | |
download | gcc-cd48e550d1dc58307ab1c0ab490745673f748ccc.zip gcc-cd48e550d1dc58307ab1c0ab490745673f748ccc.tar.gz gcc-cd48e550d1dc58307ab1c0ab490745673f748ccc.tar.bz2 |
Allow match-and-simplified phiopt to run in early phiopt
To move a few things more to match-and-simplify from phiopt,
we need to allow match_simplify_replacement to run in early
phiopt. To do this we add a replacement for gimple_simplify
that is explictly for phiopt.
OK? Bootstrapped and tested on x86_64-linux-gnu with no
regressions.
gcc/ChangeLog:
* tree-ssa-phiopt.c (match_simplify_replacement):
Add early_p argument. Call gimple_simplify_phiopt
instead of gimple_simplify.
(tree_ssa_phiopt_worker): Update call to
match_simplify_replacement and allow unconditionally.
(phiopt_early_allow): New function.
(gimple_simplify_phiopt): New function.
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions