[mlir][Python] Add `__hash__` implementation for Block.
This allows us to hash Blocks and use them in sets or parts of larger hashable objects. The implementation is the same as other core IR constructs: the C API object's pointer is hashed. Differential Revision: https://reviews.llvm.org/D139599
Loading
Please sign in to comment