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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2026-11-26

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
With constant dim <= 16 we unroll the inner loop.

Outer loop vectorization is quite a bit restricted, in particular

t.c:24:26: note:   === vect_analyze_data_ref_accesses ===
t.c:24:26: note:   grouped access in outer loop.
t.c:24:26: missed:   not vectorized: complicated access pattern.
t.c:12:21: missed:   not vectorized: complicated access pattern.
t.c:24:26: missed:  bad data access.

says that we do not support non-contiguous accesses in the inner loop when
doing outer loop vectorization.

#(Data Ref: 
#  bb: 6 
#  stmt: _20 = *_19;
#  ref: *_19;
#  base_object: *x_11(D);
#  Access function 0: {{0B, +, _1 * 8}_1, +, 8}_2
#)

there's room for improvement, esp. this case looks supportable - but dependence
analysis might need adjustments.

Most restrictions come from wrong-code issues we solved by restricting support.

Reply via email to