[LLVMdev] Making GEP into vector illegal?
daveed at vandevoorde.com
Tue Oct 14 12:45:45 PDT 2008
On Oct 14, 2008, at 3:08 PM, Chris Lattner wrote:
> On Oct 14, 2008, at 11:02 AM, Duncan Sands wrote:
>> From this point of view you have to allow GEP into a
>> vector; the conclusion I suppose is that codegen needs to replace
>> GEP+load or GEP+store with an extract or insert operation.
> With that logic, there is no difference at all between an array and
> vector... I disagree very strongly about this.
Can you elaborate your arguments for that disagreement?
(I like the notion that a "vector type" is just a "fixed-length array
type" for which I've hinted that the critical operations will be array-
wise rather than element-wise.)
More information about the llvm-dev