================ @@ -150,8 +150,7 @@ generatedTypePrinter(Type def, AsmPrinter &printer); bool LLVMArrayType::isValidElementType(Type type) { return !llvm::isa<LLVMVoidType, LLVMLabelType, LLVMMetadataType, - LLVMFunctionType, LLVMTokenType, LLVMScalableVectorType>( - type); + LLVMFunctionType, LLVMTokenType>(type); ---------------- matthias-springer wrote:
Note: `LLVMScalableVectorType` was in here, but I think it should not have been because LLVM does not support it. ```c++ bool ArrayType::isValidElementType(Type *ElemTy) { return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && !ElemTy->isTokenTy() && !ElemTy->isX86_AMXTy(); } ``` https://github.com/llvm/llvm-project/pull/133286 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits