[llvm-commits] Updated pointer-vector patch

Nick Lewycky nlewycky at google.com
Tue Nov 29 14:31:37 PST 2011

On 29 November 2011 01:37, Duncan Sands <baldrick at free.fr> wrote:

> Hi Nick,
> > To elaborate, the comment was that the only pointer types we should
> > allow are those which would let us load the vector and produce a legal
> > vector type.
> presumably i8** would be a valid vector element type.  This means that
> vector GEP may need more than one index.

No, only single-pointers for now but if there's a use case for them they
can be added. It means that someone who wants to use gather operations to
pointer-chase through multiple linked list nodes in parallel will need to
use a inttoptr between each load. Somehow I'm okay with that. :)


Ciao, Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111129/b08d38cd/attachment.html>

More information about the llvm-commits mailing list