[Mlir-commits] [mlir] [mlir][IR] Make `OpOperand` comparable (PR #70410)

Mehdi Amini llvmlistbot at llvm.org
Thu Oct 26 21:28:33 PDT 2023


================
@@ -146,6 +146,13 @@ class IROperand : public detail::IROperandBase {
     return *this;
   }
 
+  bool operator==(const IROperand<DerivedT, IRValueT> &other) const {
----------------
joker-eph wrote:

Probably worth a one line doc along the line of your PR description.

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


More information about the Mlir-commits mailing list