HomePhabricator

[mlir] Additional folding for SelectOp

Authored by Hardcode84 on Mar 12 2021, 6:39 AM.

Description

[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