[all-commits] [llvm/llvm-project] 10c3df: [Instcombine] Canonicalize ~((A & B) ^ (A | ?)) ->...

chenglin.bi via All-commits all-commits at lists.llvm.org
Wed Dec 7 07:52:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10c3df728cb6d445b6ab9e2d62487e4ecf55693b
      https://github.com/llvm/llvm-project/commit/10c3df728cb6d445b6ab9e2d62487e4ecf55693b
  Author: chenglin.bi <chenglin.bi at linaro.org>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

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

  Log Message:
  -----------
  [Instcombine] Canonicalize ~((A & B) ^ (A | ?)) -> (A & B) | ~(A | ?)

~((A & B) ^ (A | ?)) -> (A & B) | ~(A | ?)
https://alive2.llvm.org/ce/z/JHN2p4

Reviewed By: spatel

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




More information about the All-commits mailing list