[LLVMdev] [llvm-commits] Vectors of Pointers and Vector-GEP

David A. Greene greened at obbligato.org
Tue Nov 29 08:16:33 PST 2011


"Rotem, Nadav" <nadav.rotem at intel.com> writes:

> David, 
>
> Thanks for the support! I sent a detailed email with the overall
> plan. But just to reiterate, the GEP would look like this:
>
> 	%PV = getelementptr <4 x i32*> %base, <4 x i32> <i32 1, i32 2, i32 3, i32 4>
>
> Where the index of the GEP is a vector of indices. I am not against
> having multiple indices. I just want to start with a basic set of
> features.

Ah, I see.  I actually think multiple indices as in multiple vectors of
indices to the GEP above would be pretty rare.

                             -Dave



More information about the llvm-dev mailing list