[clang] [llvm] [ARM64EC] Implement `-mlong-double-{64,80,128}` options (PR #237057)

LIU Hao via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 1 12:22:04 PST 2026


================
@@ -450,6 +454,11 @@ void AArch64TargetInfo::getTargetDefines(const LangOptions &Opts,
   if (T.isLFI())
     Builder.defineMacro("__LFI__");
 
+  if (HasFloat128) {
----------------
lhmouse wrote:

well, `__SIZEOF_FLOAT128__` is a target macro so should indeed be defined. (for d86-64 it's defined in X86.cpp.)

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


More information about the cfe-commits mailing list