[all-commits] [llvm/llvm-project] 242d5b: [mlir][Transforms] Simplify region before simplify...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Wed Dec 7 15:11:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 242d5b2ba47d6956225d79ef6d1f0aa0a1cf8330
      https://github.com/llvm/llvm-project/commit/242d5b2ba47d6956225d79ef6d1f0aa0a1cf8330
  Author: Mahesh Ravishankar <ravishankarm at google.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M mlir/lib/Transforms/CSE.cpp
    M mlir/test/Transforms/cse.mlir

  Log Message:
  -----------
  [mlir][Transforms] Simplify region before simplifying operation in CSE.

This covers more options for CSE. It also ensures that two operations
that have same operands but different regions to begin with, but same
regions after `simplifyRegions`, don't get both added to the list of
`knownValues`.

Fixes #59135

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




More information about the All-commits mailing list