[PATCH] D107244: [AIX] Define _ARCH_PPC64 macro for 32-bit

Chris Bowler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 5 22:17:51 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:260
+  } else if (getTriple().isOSAIX()) {
+    // Also define _ARCH_PPC64 for 32-bit on AIX.
+    Builder.defineMacro("_ARCH_PPC64");
----------------
Suggest:

// The XL compilers on AIX define _ARCH_PPC64 for both 32 and 64-bit modes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107244



More information about the cfe-commits mailing list