[PATCH] D118110: [CMake] [Clang] Add CMake build option to specify long double format on PowerPC

Nemanja Ivanovic via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 06:54:00 PST 2022


nemanjai added inline comments.


================
Comment at: clang/CMakeLists.txt:240
 
+set(ENABLE_PPC_IEEELONGDOUBLE OFF CACHE BOOL
+    "Enable IEEE binary128 as default long double format on PowerPC.")
----------------
Do we need any error checking here? What happens if someone erroneously sets this on an AIX build (or big endian Linux, FreeBSD, etc.)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118110/new/

https://reviews.llvm.org/D118110



More information about the cfe-commits mailing list