[all-commits] [llvm/llvm-project] 70a291: [MLIR][Python] fix operation hashing (#156514)

Maksim Levental via All-commits all-commits at lists.llvm.org
Tue Sep 2 13:12:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70a291f3225628d3479452829dc8b72d5d04e034
      https://github.com/llvm/llvm-project/commit/70a291f3225628d3479452829dc8b72d5d04e034
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2025-09-02 (Tue, 02 Sep 2025)

  Changed paths:
    M mlir/include/mlir-c/IR.h
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/lib/CAPI/IR/IR.cpp
    M mlir/test/python/ir/operation.py

  Log Message:
  -----------
  [MLIR][Python] fix operation hashing (#156514)

https://github.com/llvm/llvm-project/pull/155114 broke op hashing
(because the python objects ceased to be reference equivalent). This PR
fixes by binding `OperationEquivalence::computeHash`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list