[Mlir-commits] [mlir] [MLIR][FuncToLLVM] Propagate no_inline attribute (PR #143809)

Slava Zakharin llvmlistbot at llvm.org
Fri Jun 13 10:03:39 PDT 2025


================
@@ -62,6 +62,7 @@ using namespace mlir;
 static constexpr StringRef varargsAttrName = "func.varargs";
 static constexpr StringRef linkageAttrName = "llvm.linkage";
 static constexpr StringRef barePtrAttrName = "llvm.bareptr";
+static constexpr StringRef noInlineAttrName = "no_inline";
----------------
vzakhari wrote:

Thank you for the comment, @ftynse!

Would that be acceptable to add the get/set interface methods into `FunctionOpInterface` and then implement it for `func.func`, `llvm.func`, etc.?  Or did you mean to suggest something else?

https://github.com/llvm/llvm-project/pull/143809


More information about the Mlir-commits mailing list