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.
Paths
| Differential D66363
[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
Event TimelineThis revision is now accepted and ready to land.Aug 16 2019, 1:21 PM Closed by commit rL369151: [X86] Use Register/MCRegister in more places in X86 (authored by ctopper). · Explain WhyAug 16 2019, 1:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 215669 llvm/trunk/lib/Target/X86/AsmParser/X86Operand.h
llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
llvm/trunk/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
llvm/trunk/lib/Target/X86/X86FixupBWInsts.cpp
llvm/trunk/lib/Target/X86/X86FixupLEAs.cpp
llvm/trunk/lib/Target/X86/X86FrameLowering.cpp
llvm/trunk/lib/Target/X86/X86InstrInfo.h
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
|