[all-commits] [llvm/llvm-project] f78fe0: [mlir][python] Make Operation and Value hashable

rk via All-commits all-commits at lists.llvm.org
Wed Nov 3 02:40:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f78fe0b7b83842929262f1f05e308efe82fc6ffa
      https://github.com/llvm/llvm-project/commit/f78fe0b7b83842929262f1f05e308efe82fc6ffa
  Author: rkayaith <rkayaith at gmail.com>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/test/python/ir/attributes.py
    M mlir/test/python/ir/builtin_types.py
    M mlir/test/python/ir/operation.py
    M mlir/test/python/ir/value.py

  Log Message:
  -----------
  [mlir][python] Make Operation and Value hashable

This allows operations and values to be used as dict keys

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D112669




More information about the All-commits mailing list