https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230
--- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Yeah, vec_extract should get folded in rs6000_fold_builtin eventually. I think that Will had a patch in progress on this at one time, but ran into some difficulties and it got abandoned in favor of more urgent work. Exposing extract to gimple optimization is highly desirable.