https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121334
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |riscv
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Possibly some place in the vectorizer doesn't properly check a constant it
expands? But this is a VLS mode vector, so it should be loadable from memory?
OTOH it seems to be another case of a "const" that isn't really constant
because of the poly components?
Still, you can expand this by storing elementwise to the stack and loading
from there? Or by shift-right/left inserting elementwise?