https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102138
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-08-31 Status|UNCONFIRMED |NEW --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. I attached some propagation through PHI folding for forwprop (WIP) to the spaceship PR. There's also tree-ssa-phiprop.c which does sth like PHI-translation for loads that could be generalized. In general it opens the same issues as PRE - possibly extra copies due to the constants in PHIs and possibly less optimized code because readily available constants (in registers) are explicitely represented and need to be re-materialized.