Displaying 1 result from an estimated 1 matches for "havethis".
2012 Jun 03
1
[LLVMdev] Constant::getAllOnesValue(): expected behaviour or bug?
...y->getNumElements(),00154 getAllOnesValue(VTy->getElementType()
When VTy->getNumElements() is called, it returns the value of the instance variable NumElementspresent in VectorType objects, but we passed in a PointerType (SequentialType), which doesn't havethis variable but have at the same position one variable representing the type of the pointed thing.
00309 class SequentialType : public CompositeType {00310 Type *ContainedType;
So getNumElements() will return some part of the value of ContainedType (an address), whichexplains that big integer vecto...