diff --git a/mlir/include/mlir/Dialect/Transform/Transforms/Passes.h b/mlir/include/mlir/Dialect/Transform/Transforms/Passes.h --- a/mlir/include/mlir/Dialect/Transform/Transforms/Passes.h +++ b/mlir/include/mlir/Dialect/Transform/Transforms/Passes.h @@ -19,8 +19,6 @@ #define GEN_PASS_DECL_CHECKUSES #include "mlir/Dialect/Transform/Transforms/Passes.h.inc" -std::unique_ptr createCheckUsesPass(); - #define GEN_PASS_REGISTRATION #include "mlir/Dialect/Transform/Transforms/Passes.h.inc" } // namespace transform diff --git a/mlir/include/mlir/Dialect/Transform/Transforms/Passes.td b/mlir/include/mlir/Dialect/Transform/Transforms/Passes.td --- a/mlir/include/mlir/Dialect/Transform/Transforms/Passes.td +++ b/mlir/include/mlir/Dialect/Transform/Transforms/Passes.td @@ -30,7 +30,6 @@ prior to this pass provided that transform ops implement the relevant control flow interfaces. }]; - let constructor = "::mlir::transform::createCheckUsesPass()"; } #endif // MLIR_DIALECT_TRANSFORM_TRANSFORMS_PASSES diff --git a/mlir/lib/Dialect/Transform/Transforms/CheckUses.cpp b/mlir/lib/Dialect/Transform/Transforms/CheckUses.cpp --- a/mlir/lib/Dialect/Transform/Transforms/CheckUses.cpp +++ b/mlir/lib/Dialect/Transform/Transforms/CheckUses.cpp @@ -397,10 +397,3 @@ } // namespace -namespace mlir { -namespace transform { -std::unique_ptr createCheckUsesPass() { - return std::make_unique(); -} -} // namespace transform -} // namespace mlir