[all-commits] [llvm/llvm-project] 5011b8: [mlir][arith] Fold `or(x, xor(x, 1))` -> `1`

Ivan Butygin via All-commits all-commits at lists.llvm.org
Fri May 19 13:32:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5011b8896dfa63881161f7824357666e7d3af654
      https://github.com/llvm/llvm-project/commit/5011b8896dfa63881161f7824357666e7d3af654
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/test/Dialect/Arith/canonicalize.mlir

  Log Message:
  -----------
  [mlir][arith] Fold `or(x, xor(x, 1))` -> `1`

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




More information about the All-commits mailing list