File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
mlir/include/mlir/Dialect/Transform/Transforms Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
#ifndef MLIR_DIALECT_TRANSFORM_TRANSFORMS_PASSES_H
10
10
#define MLIR_DIALECT_TRANSFORM_TRANSFORMS_PASSES_H
11
11
12
+ #include " mlir/Dialect/Transform/IR/TransformDialect.h"
12
13
#include " mlir/Pass/Pass.h"
13
- #include < memory>
14
14
15
15
namespace mlir {
16
16
class Pass ;
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def InterpreterPass : Pass<"transform-interpreter"> {
66
66
let description = [{
67
67
This pass runs the transform dialect interpreter and applies the named
68
68
sequence transformation specified by the provided name (defaults to
69
- `__transform_main`).
69
+ `TransformDialect::kTransformEntryPointSymbolName` (i.e. ` __transform_main`) ).
70
70
}];
71
71
let dependentDialects = ["::mlir::transform::TransformDialect"];
72
72
let options = [
@@ -79,7 +79,7 @@ def InterpreterPass : Pass<"transform-interpreter"> {
79
79
"false",
80
80
"Disable expensive checks in the interpreter for a faster run.">,
81
81
Option<"entryPoint", "entry-point", "std::string",
82
- /*default=*/[{"__transform_main" }],
82
+ /*default=*/[{TransformDialect::kTransformEntryPointSymbolName.str() }],
83
83
"Entry point of the pass pipeline.">,
84
84
];
85
85
}
You can’t perform that action at this time.
0 commit comments