diff options
author | Fangrui Song <i@maskray.me> | 2021-12-20 10:12:50 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-12-20 10:12:51 -0800 |
commit | bee5bc9075a44ae74f57a956ebe6d7ce7aa7524b (patch) | |
tree | c333035844a78cc90b593af3d7a9f37cca70f40f /mlir/lib/Bindings/Python/IRModule.cpp | |
parent | 4c5476b0664a2ba4bd51f69552852160ba6451be (diff) | |
download | llvm-bee5bc9075a44ae74f57a956ebe6d7ce7aa7524b.zip llvm-bee5bc9075a44ae74f57a956ebe6d7ce7aa7524b.tar.gz llvm-bee5bc9075a44ae74f57a956ebe6d7ce7aa7524b.tar.bz2 |
[ELF] #undef PPC to support GCC powerpc32 build
GCC's powerpc32 port predefines `PPC` as a macro in GNU C++ mode in some configurations (Linux,
FreeBSD, and some others. See `builtin_define_std ("PPC"); ` in gcc/config/rs6000).
```
% powerpc-linux-gnu-g++ -E -dM -xc++ /dev/null -o - | grep -w PPC
#define PPC 1
```
Fixes https://bugs.gentoo.org/829599
Reviewed By: thesamesam
Differential Revision: https://reviews.llvm.org/D116017
Diffstat (limited to 'mlir/lib/Bindings/Python/IRModule.cpp')
0 files changed, 0 insertions, 0 deletions