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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Jun 12 15:07:08 PDT 2025


================
@@ -381,6 +382,11 @@ mlir::convertFuncOpToLLVMFuncOp(FunctionOpInterface funcOp,
     newFuncOp.setMemoryEffectsAttr(memoryAttr);
   }
 
+  // Propagate no_inline attributes
+  if (funcOp->hasAttr(noInlineAttr)) {
+    newFuncOp->setAttr(noInlineAttr, rewriter.getUnitAttr());
----------------
junfengd-nv wrote:

changed as you recommended

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


More information about the Mlir-commits mailing list