[PATCH] D108917: [PowerPC] Define __powerpc and __PPC macros

Chris Bowler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 1 06:42:52 PDT 2021


cebowleratibm added a comment.

The XL compiler only defined this weird form of the macros on AIX, but not on the XL Linux on Power compiler.  I think it's preferable that we define these macros only on AIX and in the source/commit messages indicate that we're only doing so for AIX XL C/C++ compatibility.  Users should prefer the __PPC__ and __powerpc__ macros.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108917



More information about the cfe-commits mailing list