================ @@ -164,7 +164,8 @@ QualTypeMapper::convertArrayType(const clang::ArrayType *AT) { /// \return LLVM ABI VectorType with element type, count, and alignment const llvm::abi::Type *QualTypeMapper::convertVectorType(const VectorType *VT) { const llvm::abi::Type *ElementType = convertType(VT->getElementType()); - uint64_t NumElements = VT->getNumElements(); + llvm::ElementCount NumElements = + llvm::ElementCount::getFixed(VT->getNumElements()); ---------------- vortex73 wrote:
I'm not exactly sure about this - but `clang::VectorType` doesn't seem to have a getter for ElementCount. I just want to know if there is something in the API for it or I can work around that? https://github.com/llvm/llvm-project/pull/140112 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits