https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230

--- Comment #7 from meissner at linux dot ibm.com ---
On Sat, Jan 11, 2020 at 07:02:32AM +0000, pinskia at gcc dot gnu.org wrote:
> 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.

Sure if somebody does the work.  But note, vec_extract does support variable
element numbers.

Reply via email to