[all-commits] [llvm/llvm-project] daddf4: [InstCombine] Fold xored one-complemented operand ...

elhewaty via All-commits all-commits at lists.llvm.org
Tue Nov 14 05:54:17 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: daddf402d9a4e3bacc37098d990e56dc9957ca3e
      https://github.com/llvm/llvm-project/commit/daddf402d9a4e3bacc37098d990e56dc9957ca3e
  Author: elhewaty <mohamedatef1698 at gmail.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-of-xor-x.ll

  Log Message:
  -----------
  [InstCombine] Fold xored one-complemented operand comparisons (#69882)

- [InstCombine] Add test coverage for comparisons of operands including
one-complemented oparands(NFC).
- [InstCombine] Fold xored one-complemented operand comparisons.
Alive2: https://alive2.llvm.org/ce/z/PZMJeB
Fixes #69803.




More information about the All-commits mailing list