[Mlir-commits] [mlir] [mlir] DCE `RegisteredOperationName::parseAssembly` decl (PR #121730)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Jan 5 20:39:25 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-core

@llvm/pr-subscribers-mlir

Author: Maksim Levental (makslevental)

<details>
<summary>Changes</summary>

This method has no impl.

---
Full diff: https://github.com/llvm/llvm-project/pull/121730.diff


1 Files Affected:

- (modified) mlir/include/mlir/IR/OperationSupport.h (-3) 


``````````diff
diff --git a/mlir/include/mlir/IR/OperationSupport.h b/mlir/include/mlir/IR/OperationSupport.h
index ef5b8b178fbc79..f4cc5baa633556 100644
--- a/mlir/include/mlir/IR/OperationSupport.h
+++ b/mlir/include/mlir/IR/OperationSupport.h
@@ -693,9 +693,6 @@ class RegisteredOperationName : public OperationName {
   /// Return the dialect this operation is registered to.
   Dialect &getDialect() const { return *getImpl()->getDialect(); }
 
-  /// Use the specified object to parse this ops custom assembly format.
-  ParseResult parseAssembly(OpAsmParser &parser, OperationState &result) const;
-
   /// Represent the operation name as an opaque pointer. (Used to support
   /// PointerLikeTypeTraits).
   static RegisteredOperationName getFromOpaquePointer(const void *pointer) {

``````````

</details>


https://github.com/llvm/llvm-project/pull/121730


More information about the Mlir-commits mailing list