This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Track original argument index in ArgInfo
ClosedPublic

Authored by arsenm on Jul 8 2021, 9:21 AM.

Details

Summary

SelectionDAG's equivalents in ISD::InputArg/OutputArg track the
original argument index. Mips relies on this, and its currently
reinventing its own parallel CallLowering infrastructure which tracks
these indexes on the side. Add this to help move towards deleting the
custom mips handling.

Diff Detail

Event Timeline

arsenm created this revision.Jul 8 2021, 9:21 AM
arsenm requested review of this revision.Jul 8 2021, 9:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 8 2021, 9:21 AM
Herald added a subscriber: wdng. · View Herald Transcript
paquette accepted this revision.Jul 8 2021, 9:45 AM

LGTM

(This is implicitly tested by virtue of D105640 not breaking any MIPS tests, I guess?)

This revision is now accepted and ready to land.Jul 8 2021, 9:45 AM