================
@@ -318,7 +359,36 @@ const llvm::abi::Type
*QualTypeMapper::convertVectorType(const VectorType *VT) {
llvm::ElementCount NumElements = llvm::ElementCount::getFixed(NElems);
llvm::Align VectorAlign = getTypeAlign(VectorQualType);
- return Builder.getVectorType(ElementType, NumElements, VectorAlign);
+ return Builder.getVectorType(ElementType, NumElements, VectorAlign,
+ getABIVectorKind(VT->getVectorKind()));
----------------
andykaylor wrote:
I've added comments here and at the `SVEPredicate` definition, and added a test
for the fixed-length predicate element type.
https://github.com/llvm/llvm-project/pull/221375
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits