[all-commits] [llvm/llvm-project] 882df0: [InstCombine] Fold `(A | B) ^ (A & C) --> A ? ~C :...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Tue Jan 7 04:50:56 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 882df0543527694e1f4976991c65712127458b33
      https://github.com/llvm/llvm-project/commit/882df0543527694e1f4976991c65712127458b33
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

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

  Log Message:
  -----------
  [InstCombine] Fold `(A | B) ^ (A & C) --> A ? ~C : B` (#121906)

Closes https://github.com/llvm/llvm-project/issues/121773.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list