[Mlir-commits] [mlir] [MLIR] Add no-inline attribute (PR #117392)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Sat Dec 14 04:10:20 PST 2024
================
@@ -23,14 +23,16 @@ namespace {
struct FuncInlinerInterface : public DialectInlinerInterface {
using DialectInlinerInterface::DialectInlinerInterface;
+ static constexpr const char* NoInlineAttrName = "noinline";
----------------
ftynse wrote:
Hmm, would it make sense to have this as a proper ODS attribute on `FuncOp` and `CallOp`? LLVM dialect already has one https://github.com/llvm/llvm-project/blob/cc54a0ce5674b740c2136d7bd2416ffeb4a230cf/mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td#L1569.
https://github.com/llvm/llvm-project/pull/117392
More information about the Mlir-commits
mailing list