[all-commits] [llvm/llvm-project] 7219b3: [mlir] Additional folding for SelectOp

Ivan Butygin via All-commits all-commits at lists.llvm.org
Sat Mar 20 03:42:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7219b31d40f14604c669d633b014d0cc8b707cf3
      https://github.com/llvm/llvm-project/commit/7219b31d40f14604c669d633b014d0cc8b707cf3
  Author: Butygin <ivan.butygin at intel.com>
  Date:   2021-03-20 (Sat, 20 Mar 2021)

  Changed paths:
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/test/Dialect/Standard/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Additional folding for SelectOp

* Fold SelectOp when both true and false args are same SSA value
* Fold some cmp + select patterns

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




More information about the All-commits mailing list