[clang] [CLANG][AArch64] Add the modal 8 bit floating-point scalar type (PR #97277)
Paul Walker via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 10 10:26:33 PDT 2024
================
@@ -526,6 +526,11 @@ llvm::Type *CodeGenTypes::ConvertType(QualType T) {
}
case BuiltinType::SveCount:
return llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount");
+ case BuiltinType::ArmMFloat8:
+ ResultType =
+ llvm::VectorType::get(llvm::Type::getInt8Ty(getLLVMContext()),
+ llvm::ElementCount::getFixed(1));
+ break;
----------------
paulwalker-arm wrote:
Not sure how good an idea this is but what about updating `getBuiltinVectorTypeInfo` so the code above can be used? I mean, with the new definition mfloat8_t is effectively a vector type of sorts.
https://github.com/llvm/llvm-project/pull/97277
More information about the cfe-commits
mailing list