((A & B) ^ A) | ((A & B) ^ B) -> A ^ B
((A & B) ^ B) | ((A & B) ^ A) -> A ^ B
Alive2: https://alive2.llvm.org/ce/z/i44xmq
Baseline tests: https://reviews.llvm.org/D159371
Paths
| Differential D159372
[InstCombine] Fold ((A&B)^A)|((A&B)^B) to A^B AbandonedPublic Authored by marcauberer on Sep 1 2023, 12:40 PM.
Details
Summary ((A & B) ^ A) | ((A & B) ^ B) -> A ^ B Alive2: https://alive2.llvm.org/ce/z/i44xmq
Diff Detail
Revision Contents
Diff 555474 llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/or-xor-xor.ll
|