[PATCH] D111760: [clang] Support __float128 on DragonFlyBSD.
Frederic Cambus via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 21 02:20:24 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb471e25a5924: [clang] Support __float128 on DragonFlyBSD. (authored by fcambus).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111760/new/
https://reviews.llvm.org/D111760
Files:
clang/lib/Basic/Targets/OSTargets.h
Index: clang/lib/Basic/Targets/OSTargets.h
===================================================================
--- clang/lib/Basic/Targets/OSTargets.h
+++ clang/lib/Basic/Targets/OSTargets.h
@@ -179,6 +179,8 @@
Builder.defineMacro("__KPRINTF_ATTRIBUTE__");
Builder.defineMacro("__tune_i386__");
DefineStd(Builder, "unix", Opts);
+ if (this->HasFloat128)
+ Builder.defineMacro("__FLOAT128__");
}
public:
@@ -188,6 +190,7 @@
default:
case llvm::Triple::x86:
case llvm::Triple::x86_64:
+ this->HasFloat128 = true;
this->MCountName = ".mcount";
break;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111760.381181.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211021/d0891480/attachment-0001.bin>
More information about the cfe-commits
mailing list