This is an archive of the discontinued LLVM Phabricator instance.

[InstSimplify] Match PtrToInt more directly in a GEP transform (NFC)
ClosedPublic

Authored by nagisa on Mar 15 2021, 4:56 PM.

Details

Summary

In preparation for D98611, the upcoming change will need to apply additional checks to P and V,
and so this refactor paves the way for adding additional checks in a less awkward way.

Diff Detail

Event Timeline

nagisa created this revision.Mar 15 2021, 4:56 PM
nagisa requested review of this revision.Mar 15 2021, 4:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2021, 4:56 PM
nagisa updated this revision to Diff 330846.Mar 15 2021, 5:00 PM

Rebase onto D98672

This revision is now accepted and ready to land.Mar 16 2021, 12:14 AM