[Mlir-commits] [llvm] [mlir] [MLIR] Split InlinerConfig into seperate header and add pass overload with it (PR #150413)
Mehdi Amini
llvmlistbot at llvm.org
Tue Jul 29 03:28:20 PDT 2025
================
@@ -111,6 +112,10 @@ createInlinerPass(llvm::StringMap<OpPassManager> opPipelines);
std::unique_ptr<Pass>
createInlinerPass(llvm::StringMap<OpPassManager> opPipelines,
std::function<void(OpPassManager &)> defaultPipelineBuilder);
+/// Creates an instance of the inliner pass, using the provided config and
+/// threshold.
+std::unique_ptr<Pass> createInlinerPass(const InlinerConfig &inlinerConfig,
+ unsigned inliningThreshold = -1);
----------------
joker-eph wrote:
Why isn't the threshold part of the config?
https://github.com/llvm/llvm-project/pull/150413
More information about the Mlir-commits
mailing list