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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Target|                            |x86_64-*-*, i?86-*-*
          Component|tree-optimization           |target

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think we do this if the result is used in a != 0 equality compare, your case
is much harder generally.  We do have a cmpmem optab though, thus the target(s)
could do better here.

Reply via email to