]> gcc.gnu.org Git - gcc.git/commit
PHIOPT: Improve readability of tree_ssa_phiopt_worker
authorAndrew Pinski <apinski@marvell.com>
Wed, 19 Apr 2023 21:42:45 +0000 (14:42 -0700)
committerAndrew Pinski <apinski@marvell.com>
Sat, 22 Apr 2023 20:22:35 +0000 (13:22 -0700)
commite81b29a53948c413a480a3288f0f386372e2b4f7
treeb4307c5da7b1c9ec80f5f40194f78ba72c706a0f
parent84325f1c6aa3c52600ff558c4cfd028ec07b076a
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.
gcc/tree-ssa-phiopt.cc
This page took 0.055627 seconds and 6 git commands to generate.