diff options
author | Marc Auberer <marc.auberer@chillibits.com> | 2023-09-07 17:31:41 -0700 |
---|---|---|
committer | Huihui Zhang <huihuiz@quicinc.com> | 2023-09-07 17:33:06 -0700 |
commit | 904ac6fe6b95517a9d8df7e2dcb2425bf773f347 (patch) | |
tree | 6a6fd646a3785b5b2d17f6699eff6d90e3358789 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 04a6dc24db333ee8bfdf50791a18024f30086ff6 (diff) | |
download | llvm-904ac6fe6b95517a9d8df7e2dcb2425bf773f347.zip llvm-904ac6fe6b95517a9d8df7e2dcb2425bf773f347.tar.gz llvm-904ac6fe6b95517a9d8df7e2dcb2425bf773f347.tar.bz2 |
[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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions