[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:30:28 PDT 2025
================
@@ -40,11 +40,7 @@ static void defaultInlinerOptPipeline(OpPassManager &pm) {
namespace {
class InlinerPass : public impl::InlinerBase<InlinerPass> {
public:
- InlinerPass();
- InlinerPass(const InlinerPass &) = default;
- InlinerPass(std::function<void(OpPassManager &)> defaultPipeline);
- InlinerPass(std::function<void(OpPassManager &)> defaultPipeline,
- llvm::StringMap<OpPassManager> opPipelines);
+ InlinerPass(const InlinerConfig &inlinerConfig, unsigned inliningThreshold_);
----------------
joker-eph wrote:
How do we dump the passing configuration? How do I set it from the command line pass-pipeline?
I would think that would require hooking the InlinerConfig into the cl::opt infrastructure (parsing/printing)
https://github.com/llvm/llvm-project/pull/150413
More information about the Mlir-commits
mailing list