Index: mlir/include/mlir/Transforms/Passes.td =================================================================== --- mlir/include/mlir/Transforms/Passes.td +++ mlir/include/mlir/Transforms/Passes.td @@ -109,7 +109,7 @@ let constructor = "mlir::createInlinerPass()"; let options = [ Option<"defaultPipelineStr", "default-pipeline", "std::string", - /*default=*/"", "The default optimizer pipeline used for callables">, + /*default=*/"\"canonicalize\"", "The default optimizer pipeline used for callables">, ListOption<"opPipelineList", "op-pipelines", "OpPassManager", "Callable operation specific optimizer pipelines (in the form " "of `dialect.op(pipeline)`)">, Index: mlir/test/Transforms/inlining-dump-default-pipeline.mlir =================================================================== --- /dev/null +++ mlir/test/Transforms/inlining-dump-default-pipeline.mlir @@ -0,0 +1,2 @@ +// RUN: mlir-opt %s -pass-pipeline="builtin.module(inline)" -dump-pass-pipeline 2>&1 | FileCheck %s +// CHECK: builtin.module(inline{default-pipeline=canonicalize max-iterations=4 })