You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FrameLowering] Use MCRegister instead of Register in CalleeSavedInfo. NFC
Callee saved registers should always be phyiscal registers. They
are often passed directly to other functions that take MCRegister
like getMinimalPhysRegClass.
Unforuntately sometimes the MCRegister is compared to a Register
which gave an ambiguous comparison err when the MCRegister is
on the LHS. Adding a MCRegister==Register comparison operator created
more ambiguous comparison errors elsewhere. These cases were usually
comparing against a base or frame pointer register that is a physical
register in a Register. For those I added an explicit conversion of
Register to MCRegister to fix the error.
0 commit comments