diff options
author | Andrew Pinski <apinski@marvell.com> | 2023-04-19 14:42:45 -0700 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2023-04-22 13:22:35 -0700 |
commit | e81b29a53948c413a480a3288f0f386372e2b4f7 (patch) | |
tree | b4307c5da7b1c9ec80f5f40194f78ba72c706a0f /gcc/value-range.h | |
parent | 84325f1c6aa3c52600ff558c4cfd028ec07b076a (diff) | |
download | gcc-e81b29a53948c413a480a3288f0f386372e2b4f7.zip gcc-e81b29a53948c413a480a3288f0f386372e2b4f7.tar.gz gcc-e81b29a53948c413a480a3288f0f386372e2b4f7.tar.bz2 |
PHIOPT: Improve readability of tree_ssa_phiopt_worker
This small patch just changes around the code slightly to
make it easier to understand that the cases were handling diamond
shaped BB for both do_store_elim/do_hoist_loads.
There is no effect on code output at all since all of the checks
are the same still.
OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.
gcc/ChangeLog:
* tree-ssa-phiopt.cc (tree_ssa_phiopt_worker):
Change the code around slightly to move diamond
handling for do_store_elim/do_hoist_loads out of
the big if/else.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions