[clang] [Clang][AArch64]Add FP8 ACLE macros implementation (PR #140591)

via cfe-commits cfe-commits at lists.llvm.org
Tue May 20 06:16:51 PDT 2025


================
@@ -1046,6 +1082,29 @@ bool AArch64TargetInfo::handleTargetFeatures(std::vector<std::string> &Features,
       HasSVEB16B16 = true;
       HasSMEB16B16 = true;
     }
+
+    if (Feature == "+fp8")
+      HasFP8 = true;
+    if (Feature == "+fp8fma")
----------------
CarolineConcatto wrote:

I could. 
I am not sure I should reproduce the same we have in  lib/Target/AArch64/AArch64Features.td also here. 
Is that what you  are suggestion here?
At first glance it does not look like this is a representation of what we have in 
 lib/Target/AArch64/AArch64Features.td

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


More information about the cfe-commits mailing list