[LLVMdev] Altivec vs the type legalizer
dalej at apple.com
Mon Nov 9 23:38:38 CST 2009
On Nov 9, 2009, at 6:33 PM, Duncan Sands wrote:
> Hi Dale,
>> PPC Altivec supports vector type v16i8 (and others) where the
>> element type is not legal (in llvm's implementation). When we have
>> a BUILD_VECTOR of these types with constant elements, LegalizeTypes
>> first promotes the element types to i32, then builds a constant
>> pool entry of type v16i32.
> are you sure? I would expect it to build v4i32.
Yes, I'm sure. Try it.
More information about the LLVMdev