This is an archive of the discontinued LLVM Phabricator instance.

[X86] Use Register/MCRegister in more places in X86
ClosedPublic

Authored by craig.topper on Aug 16 2019, 1:13 PM.

Details

Summary

This was a quick pass through some obvious places. I haven't tried the clang-tidy check.

I also replaced the zeroes in getX86SubSuperRegister with X86::NoRegister which is the real sentinel name.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Aug 16 2019, 1:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 16 2019, 1:13 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
This revision is now accepted and ready to land.Aug 16 2019, 1:21 PM
This revision was automatically updated to reflect the committed changes.