This is an archive of the discontinued LLVM Phabricator instance.

[X86] matchAddressRecursively - add XOR(X, MIN_SIGNED_VALUE) handling
ClosedPublic

Authored by RKSimon on Mar 31 2022, 6:58 AM.

Details

Summary

Allows us to fold XOR(X, MIN_SIGNED_VALUE) == ADD(X, MIN_SIGNED_VALUE) into LEA patterns

As mentioned on PR52267.

Diff Detail

Event Timeline

RKSimon created this revision.Mar 31 2022, 6:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2022, 6:58 AM
RKSimon requested review of this revision.Mar 31 2022, 6:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2022, 6:58 AM
spatel accepted this revision.Apr 1 2022, 9:09 AM

LGTM

This revision is now accepted and ready to land.Apr 1 2022, 9:09 AM
This revision was landed with ongoing or failed builds.Apr 1 2022, 9:27 AM
This revision was automatically updated to reflect the committed changes.