This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR70434, change FE IL for vector indexing


> The following changes the IL the C family frontends emit for
> vector indexing from a mix of BIT_FIELD_REF (for constant indices)
> and pointer arithmetic + dereferences (for variable indicies) to
> a simple ARRAY_REF of the vector view-converted to a corresponding
> array type.

FWIW the Ada front-end (gigi) has always done that for its vector_type.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]