search for: typexxxintger

Displaying 2 results from an estimated 2 matches for "typexxxintger".

2013 Aug 13
0
[LLVMdev] vector type legalization
...must be in TargetLowering.h because that is where we decide whether to Widen the vector or not, and the size to which we widen it. The decision on which legalization kind to do is implemented in TargetLowering.h. The actual legalization methods are called from LegalizeTypes.cpp (TargetLowering::TypeXXXIntger and TypeXXXFloat). > In this case, we stop at 4xi8 and do not check if it is legal or not. But the comment says ‘try to widen vector elements until a legal type is found’. The comment is incorrect. Type-legalization is an iterative process. We first widen the vector to a power of two, and...
2013 Aug 13
1
[LLVMdev] vector type legalization
Hi Nadav, I believe the implementation to keep on widening the vector to the next power of two must be in TargetLowering.h because that is where we decide whether to Widen the vector or not, and the size to which we widen it. In this case, we stop at 4xi8 and do not check if it is legal or not. But the comment says ‘try to widen vector elements until a legal type is found’. Also, there is a