[Mlir-commits] [mlir] [mlir][inliner] Add doClone and canHandleMultipleBlocks callbacks to Inliner (PR #131226)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Mar 14 03:22:27 PDT 2025


================
@@ -142,9 +142,13 @@ void InlinerPass::runOnOperation() {
     return isProfitableToInline(call, inliningThreshold);
   };
 
+  // By default, prevent inlining a functon containing multiple blocks into a
----------------
jeanPerier wrote:

```suggestion
  // By default, prevent inlining a function containing multiple blocks into a
```

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


More information about the Mlir-commits mailing list