https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121393
--- Comment #3 from Andrew Stubbs <ams at gcc dot gnu.org> --- The bug is not reproducible without the "collapse(3)" statement, nor when compiled for native amdgcn (no offloading). However, in both cases this is because the load does not vectorize. The "vect" dump says "relevant stmt not supported", although perhaps because it thinks something is unaligned.