[all-commits] [llvm/llvm-project] fd8247: [mlir][IR] Combine location hash if required in Op...

Hideto Ueno via All-commits all-commits at lists.llvm.org
Wed Jun 28 18:51:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd82478239a95e1e5a67a86f832d097fd83f5e1b
      https://github.com/llvm/llvm-project/commit/fd82478239a95e1e5a67a86f832d097fd83f5e1b
  Author: Hideto Ueno <uenoku.tokotoko at gmail.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M mlir/lib/IR/OperationSupport.cpp
    M mlir/unittests/IR/OperationSupportTest.cpp

  Log Message:
  -----------
  [mlir][IR] Combine location hash if required in OperationEquivalence::computeHash

This fixes a bug that `OperationEquivalence::computeHash` doesn't
combine hash of operation locations even when `IgnoreLocations` is false.
Added a unit test which fails at the current trunk.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list