forked from OSchip/llvm-project
[MLIR] Remove duplicate `Pass` suffix from ViewOpGraph class name
Remove duplicate `Pass` suffix from view-op-graph pass class name. The extra suffix would lead to methods like registerViewOpGraphPassPass being generated. Differential Revision: https://reviews.llvm.org/D114459
This commit is contained in:
parent
d7d7ffe254
commit
8bd08a9fd7
|
@ -692,7 +692,7 @@ def SymbolDCE : Pass<"symbol-dce"> {
|
|||
let constructor = "mlir::createSymbolDCEPass()";
|
||||
}
|
||||
|
||||
def ViewOpGraphPass : Pass<"view-op-graph"> {
|
||||
def ViewOpGraph : Pass<"view-op-graph"> {
|
||||
let summary = "Print Graphviz visualization of an operation";
|
||||
let description = [{
|
||||
This pass prints a Graphviz graph of a module.
|
||||
|
|
|
@ -68,7 +68,7 @@ public:
|
|||
/// This pass generates a Graphviz dataflow visualization of an MLIR operation.
|
||||
/// Note: See https://www.graphviz.org/doc/info/lang.html for more information
|
||||
/// about the Graphviz DOT language.
|
||||
class PrintOpPass : public ViewOpGraphPassBase<PrintOpPass> {
|
||||
class PrintOpPass : public ViewOpGraphBase<PrintOpPass> {
|
||||
public:
|
||||
PrintOpPass(raw_ostream &os) : os(os) {}
|
||||
PrintOpPass(const PrintOpPass &o) : PrintOpPass(o.os.getOStream()) {}
|
||||
|
|
Loading…
Reference in New Issue