[InstCombine] Fold ((A&B)^A)|((A&B)^B) to A^B
Depends on D159379 ((A & B) ^ A) | ((A & B) ^ B) -> A ^ B (A ^ (A & B)) | (B ^ (A & B)) -> A ^ B ((A & B) ^ B) | ((A & B) ^ A) -> A ^ B (B ^ (A & B)) | (A ^ (A & B)) -> A ^ B Alive2: https://alive2.llvm.org/ce/z/i44xmq Baseline tests: https://reviews.llvm.org/D159379 Reviewed By: huihuiz Differential Revision: https://reviews.llvm.org/D159380
Loading
Please sign in to comment