This is an archive of the discontinued LLVM Phabricator instance.

Adding ChangeToTargetIndex function to MachineOperand
ClosedPublic

Authored by kariddi on Aug 3 2017, 7:41 PM.

Details

Summary

MachineOperand is missing a ChangeToTargetIndex method that could be useful to be used by backends (we found it useful for our backend, there are hacks to workaround it in order to call "removeRegsFromUses", but are not nice).

Diff Detail

Repository
rL LLVM

Event Timeline

kariddi created this revision.Aug 3 2017, 7:41 PM
kariddi added reviewers: arsenm, qcolombet, MatzeB.
This revision is now accepted and ready to land.Aug 4 2017, 9:11 AM
This revision was automatically updated to reflect the committed changes.