This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Define and use MachineOperand::getOperandNo

Authored by foad on Feb 3 2023, 1:57 AM.



This is a helper function to very slightly simplify many calls to

Diff Detail

Event Timeline

foad created this revision.Feb 3 2023, 1:57 AM
foad requested review of this revision.Feb 3 2023, 1:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2023, 1:57 AM
asb accepted this revision.Feb 7 2023, 2:43 AM

Seems like a useful helper to me.

This revision is now accepted and ready to land.Feb 7 2023, 2:43 AM
This revision was automatically updated to reflect the committed changes.