https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118362
--- Comment #3 from Stefan Schulze Frielinghaus <stefansf at gcc dot gnu.org> --- I wasn't sure whether also other vector modes may appear there. If only vector modes defined by the backend can appear there, then it should be sufficient to check for the size only.