https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, APIs like vec-perm-indices.h do the clamping already, it is just about code that doesn't use those APIs.
jakub at gcc dot gnu.org via Gcc-bugs Fri, 13 May 2022 05:10:13 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, APIs like vec-perm-indices.h do the clamping already, it is just about code that doesn't use those APIs.