https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118297
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64
Summary|vect_analyze_loop_form gets |not vecotrizing some code
|confused by outer loop that |
|only executes its body once |
Keywords| |missed-optimization
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
SLP does vectorize it but only with -fno-vect-cost-model. So I suspect this is
a cost model issue.
Note for aarch64, -fno-vect-cost-model is needed too.