[LLVMdev] Misunderstanding vector

Duncan Sands baldrick at free.fr
Mon Sep 22 00:42:38 PDT 2008


On Sunday 21 September 2008 20:45:37 Jonathan S. Shapiro wrote:
> I was re-reading the specification for extractelement and friends, and I
> notice that the index is restricted to i32. Since vectors might clearly
> have a larger number of elements on 64-bit platforms, I wonder if I am
> misunderstanding the intended use of these instructions.

The code generator cannot handle vectors with more than 16383 (?)
elements.  Even so, I'm not sure it makes much sense to use vectors
with more than a handful of elements.

Ciao,

Duncan.



More information about the llvm-dev mailing list