This is an archive of the discontinued LLVM Phabricator instance.

[InstSimplify] Fold A|B | (A^B) --> A|B
AbandonedPublic

Authored by MehrHeidar on Nov 15 2021, 3:06 PM.

Details

Reviewers
None
Summary

This patch adds the following fold opportunity:
A|B | (A^B) --> A|B

that is reported here : https://bugs.llvm.org/show_bug.cgi?id=52479

https://alive2.llvm.org/ce/z/33-My-

Test cases with base results are added in D113860

Previously authored in D113861, but due to committing with not giving the credits has been reverted.

Diff Detail

Event Timeline

MehrHeidar created this revision.Nov 15 2021, 3:06 PM
MehrHeidar requested review of this revision.Nov 15 2021, 3:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2021, 3:06 PM
This comment was removed by MehrHeidar.

No need to open another revision, D113861 has already been reopened.

MehrHeidar removed rG LLVM Github Monorepo as the repository for this revision.
MehrHeidar abandoned this revision.Nov 15 2021, 3:14 PM