This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Use Register instead of unsigned integer for variables that receive a Register object
ClosedPublic

Authored by gAlfonso-bit on Dec 6 2022, 12:48 PM.

Details

Summary

Otherwise we will just be wasting time converting to and from unsigned integers and Register objects

Diff Detail

Event Timeline

gAlfonso-bit created this revision.Dec 6 2022, 12:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2022, 12:48 PM
gAlfonso-bit requested review of this revision.Dec 6 2022, 12:48 PM
MaskRay accepted this revision.Dec 6 2022, 12:51 PM

Thanks! I spot checked a few call sites.

This revision is now accepted and ready to land.Dec 6 2022, 12:51 PM

@MaskRay could you please commit this since I do not have the permissions to do so?

email is gfunni234@gmail.com

Fix build errors

This revision was landed with ongoing or failed builds.Dec 6 2022, 4:23 PM
This revision was automatically updated to reflect the committed changes.