[clang] [AArch64] Refactor implementation of FP8 types (NFC) (PR #118969)

via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 11 10:57:45 PST 2024


================
@@ -529,6 +531,9 @@ llvm::Type *CodeGenTypes::ConvertType(QualType T) {
       }
     case BuiltinType::SveCount:
       return llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount");
+    case BuiltinType::MFloat8:
----------------
CarolineConcatto wrote:

What is the  difference between this change and before.
It looks like both are generation a vector of: <Info.EC x i8>. But in this case Info.EC  is replaced by 1.

Do we need case BuiltinType::MFloat8? Why the changes are not enough for the scalar type?

https://github.com/llvm/llvm-project/pull/118969


More information about the cfe-commits mailing list