[PATCH] D105477: [AIX] Define __LONGDOUBLE64 macro

Chris Bowler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 6 08:19:25 PDT 2021


cebowleratibm requested changes to this revision.
cebowleratibm added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang/lib/Basic/Targets/PPC.cpp:175
 
+  if (getTriple().isOSAIX() && LongDoubleWidth == 64) {
+    Builder.defineMacro("__LONGDOUBLE64");
----------------
I suggest querying the -mlong-double-64 option and asserting that the LongDoubleWidth is 64.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105477



More information about the cfe-commits mailing list