https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102494
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-*-*
Keywords| |missed-optimization
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Both with and without -fopenmp-simd works on aarch64-linux-gnu which has a
reduction addition.
Just looks like how reduction addition is handled for x86_64 really.
Also we have:
MEM <vector(4) short int> [(short int *)&D.2916] = vect__21.35_111;
MEM <vector(4) short int> [(short int *)&D.2916 + 8B] = vect__21.35_112;
vect__24.24_88 = MEM <vector(8) short int> [(short int *)&D.2916];