aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2021-06-12 19:14:46 -0700
committerAndrew Pinski <apinski@marvell.com>2021-07-05 12:44:14 -0700
commita50cecb20a10a729b3f5f157b154d28f9937a652 (patch)
tree1c0d92be5b25278adf2b9f15f30a4f1dd89a6ca6 /gcc/tree-ssa-alias.c
parentcd48e550d1dc58307ab1c0ab490745673f748ccc (diff)
downloadgcc-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