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

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 04:30:00 PST 2025


================
@@ -650,6 +655,8 @@ llvm::Type *CodeGenTypes::ConvertType(QualType T) {
     // An ext_vector_type of Bool is really a vector of bits.
     llvm::Type *IRElemTy = VT->isExtVectorBoolType()
                                ? llvm::Type::getInt1Ty(getLLVMContext())
+                           : VT->getElementType()->isMFloat8Type()
----------------
CarolineConcatto wrote:

I agree with Spencer, we need a comment here.

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


More information about the cfe-commits mailing list