summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Analysis/TestParallelismDetection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Analysis/TestParallelismDetection.cpp')
-rw-r--r--mlir/lib/Analysis/TestParallelismDetection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Analysis/TestParallelismDetection.cpp b/mlir/lib/Analysis/TestParallelismDetection.cpp
index 75982a8e0c5..a9f9ea94a45 100644
--- a/mlir/lib/Analysis/TestParallelismDetection.cpp
+++ b/mlir/lib/Analysis/TestParallelismDetection.cpp
@@ -36,8 +36,8 @@ struct TestParallelismDetection
} // end anonymous namespace
-FunctionPassBase *mlir::createParallelismDetectionTestPass() {
- return new TestParallelismDetection();
+std::unique_ptr<OpPassBase<FuncOp>> mlir::createParallelismDetectionTestPass() {
+ return std::make_unique<TestParallelismDetection>();
}
// Walks the function and emits a note for all 'affine.for' ops detected as
OpenPOWER on IntegriCloud