[clang] [clang][PowerPC] Enable IEEE-128 long double on FreeBSD/powerpc64le (PR #201298)
Jessica Clarke via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 20 11:54:17 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) {
----------------
jrtc27 wrote:
This needs to use the new ABI for `getOSVersion().empty()`; see e.g. isPPC64ELFv2ABI
https://github.com/llvm/llvm-project/pull/201298
More information about the cfe-commits
mailing list