[all-commits] [llvm/llvm-project] c572eb: [InstCombine] Fold (~A | B) ^ A --> ~(A & B)

Mehrnoosh via All-commits all-commits at lists.llvm.org
Mon Nov 29 08:31:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c572eb1ad9d8a528bcaff0160888aff31b1f4b5f
      https://github.com/llvm/llvm-project/commit/c572eb1ad9d8a528bcaff0160888aff31b1f4b5f
  Author: Mehrnoosh Heidarpour <mehrnoosh.heidarpour at huawei.com>
  Date:   2021-11-29 (Mon, 29 Nov 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/xor.ll

  Log Message:
  -----------
  [InstCombine] Fold (~A | B) ^ A --> ~(A & B)

https://alive2.llvm.org/ce/z/gLrYPk

Fixes:
https://llvm.org/PR52518

Reviewed by: spatel

Differential revision: https://reviews.llvm.org/D114339




More information about the All-commits mailing list