This is an archive of the discontinued LLVM Phabricator instance.

[DAG] Fix SDLoc mismatch in (shl (srl x, c1), c2) -> and(shift(x,c3)) fold
ClosedPublic

Authored by RKSimon on Jun 14 2022, 11:13 AM.

Details

Summary

Noticed by @craig.topper on D125836 which uses a tweaked copy of the same code.

Diff Detail

Event Timeline

RKSimon created this revision.Jun 14 2022, 11:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2022, 11:13 AM
RKSimon requested review of this revision.Jun 14 2022, 11:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2022, 11:13 AM
This revision is now accepted and ready to land.Jun 14 2022, 8:12 PM
This revision was landed with ongoing or failed builds.Jun 15 2022, 3:08 AM
This revision was automatically updated to reflect the committed changes.