[clang] [clang][Driver] Define soft float macros for PPC. (PR #106012)

Alex Rønne Petersen via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 26 18:28:33 PDT 2024


================
@@ -439,14 +443,12 @@ void PPCTargetInfo::getTargetDefines(const LangOptions &Opts,
   // FIXME: The following are not yet generated here by Clang, but are
   //        generated by GCC:
   //
-  //   _SOFT_FLOAT_
   //   __RECIP_PRECISION__
   //   __APPLE_ALTIVEC__
   //   __RECIP__
   //   __RECIPF__
   //   __RSQRTE__
   //   __RSQRTEF__
----------------
alexrp wrote:

Ah, no, I guess Clang doesn't have those builtins yet, so that wouldn't be right. I'll just do the two you mentioned.

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


More information about the cfe-commits mailing list