https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125120

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amacleod at redhat dot com,
                   |                            |rguenth at gcc dot gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
unreachable() should be gone before loop opts, not sure why that doesn't
happen.  LIM isn't hindered by multi-exits in principle, but we restrict store
motion
of conditionally executed stores - because we have to emit a load in the
preheader.  We could possibly do flag-based SM to avoid this (but usually
not a good idea due to cost).

Hmm, but indeed, we seem to remove __builtin_unreachable () from the 2nd
VRP pass only.  Why's that so?  We did it very much earlier in the past.

Reply via email to