[all-commits] [llvm/llvm-project] 35c0ab: [MLIR] Simplify select to a not

William Moses via All-commits all-commits at lists.llvm.org
Mon Jun 28 08:00:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35c0ab72fc20fcd47adda07f738338733d2c49e3
      https://github.com/llvm/llvm-project/commit/35c0ab72fc20fcd47adda07f738338733d2c49e3
  Author: William S. Moses <gh at wsmoses.com>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

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

  Log Message:
  -----------
  [MLIR] Simplify select to a not

Given a select that returns the logical negation of the condition, replace it with a not of the condition.

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




More information about the All-commits mailing list