Re: [PATCH] PHIOPT: Improve readability of tree_ssa_phiopt_worker

2023-04-22 Thread Jeff Law via Gcc-patches
On 4/19/23 19:05, Andrew Pinski via Gcc-patches wrote: 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 a

[PATCH] PHIOPT: Improve readability of tree_ssa_phiopt_worker

2023-04-19 Thread Andrew Pinski via Gcc-patches
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. Note this depends on https://gcc.gnu.org