This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Fix type of MachineRegisterInfo::RegAllocHints. NFC.
ClosedPublic

Authored by foad on Mar 22 2023, 10:20 AM.

Details

Summary

The first member of the pair should be unsigned instead of Register
because it is the hint type, 0 for simple (target independent) hints and
other values for target dependent hints.

Diff Detail

Event Timeline

foad created this revision.Mar 22 2023, 10:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 10:20 AM
foad requested review of this revision.Mar 22 2023, 10:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 10:20 AM
This revision is now accepted and ready to land.Mar 22 2023, 11:26 AM
This revision was landed with ongoing or failed builds.Mar 22 2023, 11:41 AM
This revision was automatically updated to reflect the committed changes.