[llvm-commits] Vectors of Pointers and Vector-GEP
Duncan Sands
baldrick at free.fr
Wed Nov 23 06:18:31 PST 2011
Hi Hal,
>>> getExtendedElementVectorType, etc. don't "work" for floating-point
>>> vectors currently, so there is some precedent for this kind of thing.
>>
>> I'm not sure why you think that. They are supposed to produce vectors
>> of integers even if the original element type was a float, and as far
>> as I can see they do.
>
> That's why I put work in quotes. They don't crash, but is that a useful
> behavior?
they're presumably useful for someone! However I don't think they should
be methods on VectorType, since such methods should (IMO) be reserved
for widely useful methods with a sensible universal meaning. I reckon
that they should be utility functions placed somewhere else.
Ciao, Duncan.
>
> -Hal
>
>>
>> Ciao, Duncan.
>
More information about the llvm-commits
mailing list