summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/ViewOpGraph.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riverriddle@google.com>2019-09-13 13:33:46 -0700
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-09-13 13:34:27 -0700
commitf1b100c77ba005899c60f3dea74607d5daad3f52 (patch)
treef56bf4334aaf24694db7cc33d6bbd48ba1f14a07 /mlir/lib/Transforms/ViewOpGraph.cpp
parenta260436714b35584bbc1cdd39834b5556b991178 (diff)
downloadbcm5719-llvm-f1b100c77ba005899c60f3dea74607d5daad3f52.tar.gz
bcm5719-llvm-f1b100c77ba005899c60f3dea74607d5daad3f52.zip
NFC: Finish replacing FunctionPassBase/ModulePassBase with OpPassBase.
These directives were temporary during the generalization of FunctionPass/ModulePass to OpPass. PiperOrigin-RevId: 268970259
Diffstat (limited to 'mlir/lib/Transforms/ViewOpGraph.cpp')
-rw-r--r--mlir/lib/Transforms/ViewOpGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/ViewOpGraph.cpp b/mlir/lib/Transforms/ViewOpGraph.cpp
index afb65c7d148..7f65a143a96 100644
--- a/mlir/lib/Transforms/ViewOpGraph.cpp
+++ b/mlir/lib/Transforms/ViewOpGraph.cpp
@@ -153,7 +153,7 @@ llvm::raw_ostream &mlir::writeGraph(llvm::raw_ostream &os, mlir::Block &block,
return llvm::WriteGraph(os, &block, shortNames, title);
}
-std::unique_ptr<mlir::ModulePassBase>
+std::unique_ptr<mlir::OpPassBase<mlir::ModuleOp>>
mlir::createPrintOpGraphPass(llvm::raw_ostream &os, bool shortNames,
const llvm::Twine &title) {
return std::make_unique<PrintOpPass>(os, shortNames, title);
OpenPOWER on IntegriCloud