aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bindings/Python/IRModule.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-12-20 10:12:50 -0800
committerFangrui Song <i@maskray.me>2021-12-20 10:12:51 -0800
commitbee5bc9075a44ae74f57a956ebe6d7ce7aa7524b (patch)
treec333035844a78cc90b593af3d7a9f37cca70f40f /mlir/lib/Bindings/Python/IRModule.cpp
parent4c5476b0664a2ba4bd51f69552852160ba6451be (diff)
downloadllvm-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