Displaying 1 result from an estimated 1 matches for "resultelementtyp".
Did you mean:
  resultelementtype
  
2019 Oct 21
2
How to create vector pointer type?
...rTy() ){
    PointerType *PointerTy = dyn_cast<PointerType>(Ty);
    Type *vt = PointerTy->getElementType();
    a = vt->isVectorTy();
  }
  return a;
}
Then meet the following error:
Assertion failed: ResultElementType == cast<PointerType>(getType()->getScalarType())->getElementType(), file D:\cygwin64\home\celine\clang-102\llvm\include\llvm/IR/Instructions.h, line 958
I wonder how to create vector pointer type correctly?
--
Best Regards,
Celine
-------------- next part -------------...