https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Does it make sense to fold vec_extract directly into BIT_FIELD_REF in altivec_resolve_overloaded_builtin for constants? Or even in rs6000_fold_builtin ? It seems like a lot of the builtins should be fold directly to gimple versions.