[Bug tree-optimization/85143] Loop limit prevents (auto)vectorization

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 31 17:57:00 GMT 2018


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
i < n && i < 1337

Most likely should be converted over to i < MIN_EXPR(n, 1337).  And then the
MIN_EXPR can be pulled out of the loop and the optimizations can take care of
the rest I think.


More information about the Gcc-bugs mailing list