aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-04-20 10:56:17 -0700
committerAndrew Pinski <apinski@marvell.com>2023-04-24 08:49:49 -0700
commit7049241f6ee558cfc0b227b5a0a355ec29afd6f1 (patch)
tree87345142640a6387bc79cbf03e7e1ccbbacfa38c /gcc/value-range.h
parent7dd4761ee7f95be3cbf74ad57564faa7b1464dc2 (diff)
downloadgcc-7049241f6ee558cfc0b227b5a0a355ec29afd6f1.zip
gcc-7049241f6ee558cfc0b227b5a0a355ec29afd6f1.tar.gz
gcc-7049241f6ee558cfc0b227b5a0a355ec29afd6f1.tar.bz2
PHIOPT: Allow other diamond uses when do_hoist_loads is true
While working on adding diamond shaped form to match-and-simplify phiopt, I Noticed that we would not reach there if do_hoist_loads was true. In the original code before the cleanups it was not obvious why but after I finished the cleanups, it was just a matter of removing a continue and that is what this patch does. This just happens also to fix a bug report that I noticed too. OK? Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: PR tree-optimization/68894 * tree-ssa-phiopt.cc (tree_ssa_phiopt_worker): Remove the continue for the do_hoist_loads diamond case.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions