Register can cast to MCRegister and we may want to consider asserting
!isValid() || isPhysical() when expensive checks are on.
Depends on D65554
Paths
| Differential D65599
Add MCRegister and use it in MCRegisterClass::contains() ClosedPublic Authored by dsanders on Aug 1 2019, 12:02 PM.
Details Summary Register can cast to MCRegister and we may want to consider asserting Depends on D65554
Diff Detail
Event Timelinedsanders added a child revision: D65605: Use MCRegister in MCRegisterInfo's interfaces.Aug 1 2019, 1:38 PM dsanders added inline comments.
This revision is now accepted and ready to land.Aug 1 2019, 5:59 PM Closed by commit rL367711: Add MCRegister and use it in MCRegisterClass::contains() (authored by dsanders). · Explain WhyAug 2 2019, 12:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 212877 llvm/include/llvm/CodeGen/Register.h
llvm/include/llvm/MC/MCRegister.h
llvm/include/llvm/MC/MCRegisterInfo.h
|
MCPhysReg?