diff options
author | Andrew Pinski <apinski@marvell.com> | 2021-06-12 19:14:46 -0700 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2021-07-05 12:44:14 -0700 |
commit | a50cecb20a10a729b3f5f157b154d28f9937a652 (patch) | |
tree | 1c0d92be5b25278adf2b9f15f30a4f1dd89a6ca6 /gcc/tree-ssa-alias.c | |
parent | cd48e550d1dc58307ab1c0ab490745673f748ccc (diff) | |
download | gcc-a50cecb20a10a729b3f5f157b154d28f9937a652.zip gcc-a50cecb20a10a729b3f5f157b154d28f9937a652.tar.gz gcc-a50cecb20a10a729b3f5f157b154d28f9937a652.tar.bz2 |
Try inverted comparison for match_simplify in phiopt
Since match and simplify does not have all of the inverted
comparison patterns, it make sense to just have
phi-opt try to do the inversion and try match and simplify again.
OK? Bootstrapped and tested on x86_64-linux-gnu.
Thanks,
Andrew Pinski
gcc/ChangeLog:
* tree-ssa-phiopt.c (gimple_simplify_phiopt):
If "A ? B : C" fails to simplify, try "(!A) ? C : B".
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions