From 7285e8d98c9a44b7efe792462188cfe713dd9641 Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Tue, 12 Mar 2013 14:12:16 +0000 Subject: PPC should always use the register scavenger for CR spilling This removes the -disable-ppc[32|64]-regscavenger options; the code that uses the register scavenger has been working well (and has been the default) for some time, and we don't need options to enable the old (broken) CR spilling code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176865 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCRegisterInfo.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/Target/PowerPC/PPCRegisterInfo.h') diff --git a/lib/Target/PowerPC/PPCRegisterInfo.h b/lib/Target/PowerPC/PPCRegisterInfo.h index 9840666242..83f755da9f 100644 --- a/lib/Target/PowerPC/PPCRegisterInfo.h +++ b/lib/Target/PowerPC/PPCRegisterInfo.h @@ -50,8 +50,9 @@ public: virtual bool avoidWriteAfterWrite(const TargetRegisterClass *RC) const; /// requiresRegisterScavenging - We require a register scavenger. - /// FIXME (64-bit): Should be inlined. - bool requiresRegisterScavenging(const MachineFunction &MF) const; + bool requiresRegisterScavenging(const MachineFunction &MF) const { + return true; + } bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const; -- cgit v1.2.3