[LLVMdev] Extending Vector GEP - proposal

Demikhovsky, Elena elena.demikhovsky at intel.com
Tue Mar 3 13:16:48 PST 2015

Yes, of course. Any parameter of the vector GEP may be scalar.
GEP that returns vector of pointers should have one or more vector operands. All vector operands should be with the same vector width.
Scalar operand means the splat vector.

-  Elena

-----Original Message-----
From: dag at cray.com [mailto:dag at cray.com] 
Sent: Tuesday, March 03, 2015 23:01
To: Nadav Rotem
Cc: Demikhovsky, Elena; llvmdev at cs.uiuc.edu; Duncan P. N. Exon Smith; Philip Reames (listmail at philipreames.com); Hal Finkel (hfinkel at anl.gov); Chandler Carruth (chandlerc at gmail.com)
Subject: Re: Extending Vector GEP - proposal

Nadav Rotem <nrotem at apple.com> writes:

> Okay. I think that it’s reasonable to add support for GEP with a 
> single base pointer and a vector of indices.

We should also support a vector of pointers and a scalar index, I think.

Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

More information about the llvm-dev mailing list