diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2022-08-03 11:48:44 +0200 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2022-08-03 11:48:44 +0200 |
commit | 75747e6e11aed9ed75d27527e9262cedb2e3f887 (patch) | |
tree | 0f9ff526dc732c3c1396d4db2e2ef0fb04002f61 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | |
parent | 3e9e43b48eb7a6a9b317e4c32ba0ee672630842b (diff) | |
download | llvm-75747e6e11aed9ed75d27527e9262cedb2e3f887.zip llvm-75747e6e11aed9ed75d27527e9262cedb2e3f887.tar.gz llvm-75747e6e11aed9ed75d27527e9262cedb2e3f887.tar.bz2 |
[mlir] Fix Analysis/Presburger/Utils.cpp compilation with GCC 11
As reported in Issue #56850, mlir/lib/Analysis/Presburger/Utils.cpp doesn't
compile on Solaris 11.4/SPARC with the bundled GCC 11, as seen when testing
LLVM 15.0.0 rc1:
/var/llvm/reltest/llvm-15.0.0-rc1/rc1/llvm-project/mlir/include/mlir/Analysis/Presburger/MPInt.h:260:47:
error: inlining failed in call to ‘always_inline’ ‘int64_t
mlir::presburger::int64FromMPInt(const mlir::presburger::MPInt&)’: indirect
function call with a yet undetermined callee
This patch hacks around this and allowed the build to finish.
Tested on `sparcv9-sun-solaris2.11`.
Differential Revision: https://reviews.llvm.org/D131060
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions