summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/CSE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Transforms/CSE.cpp')
-rw-r--r--mlir/lib/Transforms/CSE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/CSE.cpp b/mlir/lib/Transforms/CSE.cpp
index bb89aef7fef..0e6dae6c549 100644
--- a/mlir/lib/Transforms/CSE.cpp
+++ b/mlir/lib/Transforms/CSE.cpp
@@ -258,7 +258,7 @@ void CSE::runOnFunction() {
markAnalysesPreserved<DominanceInfo, PostDominanceInfo>();
}
-std::unique_ptr<FunctionPassBase> mlir::createCSEPass() {
+std::unique_ptr<OpPassBase<FuncOp>> mlir::createCSEPass() {
return std::make_unique<CSE>();
}
OpenPOWER on IntegriCloud