[all-commits] [llvm/llvm-project] 75747e: [mlir] Fix Analysis/Presburger/Utils.cpp compilati...
rorth via All-commits
all-commits at lists.llvm.org
Wed Aug 3 02:49:33 PDT 2022
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2022-08-03 (Wed, 03 Aug 2022)
[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:
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
More information about the All-commits