[clang] [clang][PowerPC] Enable IEEE-128 long double on FreeBSD/powerpc64le (PR #201298)

Piotr Kubaj via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 21 13:57:14 PDT 2026


================
@@ -457,7 +457,12 @@ class LLVM_LIBRARY_VISIBILITY PPC64TargetInfo : public PPCTargetInfo {
       ABI = "elfv1";
     }
 
-    if (Triple.isOSFreeBSD() || Triple.isOSOpenBSD() || Triple.isMusl()) {
+    if (Triple.isOSFreeBSD() && Triple.getArch() == llvm::Triple::ppc64le &&
+        Triple.getOSMajorVersion() >= 16) {
----------------
pkubaj wrote:

Done.

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


More information about the cfe-commits mailing list