[Mlir-commits] [mlir] c080456 - Delete dead code
Sanjoy Das
llvmlistbot at llvm.org
Fri Jan 28 20:06:44 PST 2022
Author: Sanjoy Das
Date: 2022-01-28T20:01:35-08:00
New Revision: c080456d64f9c973f9d628dd7201df3ea512f381
URL: https://github.com/llvm/llvm-project/commit/c080456d64f9c973f9d628dd7201df3ea512f381
DIFF: https://github.com/llvm/llvm-project/commit/c080456d64f9c973f9d628dd7201df3ea512f381.diff
LOG: Delete dead code
Differential Revision: https://reviews.llvm.org/D118501
Added:
Modified:
mlir/lib/IR/AsmPrinter.cpp
Removed:
################################################################################
diff --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp
index 992fd1f793923..ba5628272a31d 100644
--- a/mlir/lib/IR/AsmPrinter.cpp
+++ b/mlir/lib/IR/AsmPrinter.cpp
@@ -1174,12 +1174,6 @@ class AsmStateImpl {
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; }
More information about the Mlir-commits
mailing list