mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Lanai: Remove unnecessary canRealignStack() override; NFC
It was doing the same as the base implementation and was irritating me when I was searching for backends that have custom behavior for canRealignStack. llvm-svn: 301495
This commit is contained in:
parent
9d37d619a5
commit
e835e58da7
@ -264,12 +264,6 @@ LanaiRegisterInfo::getFrameRegister(const MachineFunction & /*MF*/) const {
|
||||
|
||||
unsigned LanaiRegisterInfo::getBaseRegister() const { return Lanai::R14; }
|
||||
|
||||
bool LanaiRegisterInfo::canRealignStack(const MachineFunction &MF) const {
|
||||
if (!TargetRegisterInfo::canRealignStack(MF))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned LanaiRegisterInfo::getEHExceptionRegister() const {
|
||||
llvm_unreachable("no exception support");
|
||||
return 0;
|
||||
|
@ -41,8 +41,6 @@ struct LanaiRegisterInfo : public LanaiGenRegisterInfo {
|
||||
unsigned FIOperandNum,
|
||||
RegScavenger *RS = nullptr) const override;
|
||||
|
||||
bool canRealignStack(const MachineFunction &MF) const override;
|
||||
|
||||
// Debug information queries.
|
||||
unsigned getRARegister() const;
|
||||
unsigned getFrameRegister(const MachineFunction &MF) const override;
|
||||
|
Loading…
Reference in New Issue
Block a user