diff --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp --- a/mlir/lib/IR/AsmPrinter.cpp +++ b/mlir/lib/IR/AsmPrinter.cpp @@ -1174,12 +1174,6 @@ aliasState.initialize(op, printerFlags, interfaces); } - /// Get an instance of the OpAsmDialectInterface for the given dialect, or - /// null if one wasn't registered. - const OpAsmDialectInterface *getOpAsmInterface(Dialect *dialect) { - return interfaces.getInterfaceFor(dialect); - } - /// Get the state used for aliases. AliasState &getAliasState() { return aliasState; }