diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-03-16 22:50:51 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-03-16 22:50:51 +0000 |
commit | ce638c8248355452cb7892c9c27807a92176a7b2 (patch) | |
tree | 32d81951ae52702ee30816276f558939d9084b8a /lib/Target/PowerPC/PPCRegisterInfo.cpp | |
parent | 51f6747b23bf7c85e90f816bf9bfae3a1d4fd058 (diff) | |
download | external_llvm-ce638c8248355452cb7892c9c27807a92176a7b2.zip external_llvm-ce638c8248355452cb7892c9c27807a92176a7b2.tar.gz external_llvm-ce638c8248355452cb7892c9c27807a92176a7b2.tar.bz2 |
Remove PPC avoidWriteAfterWrite callback
As a follow-up to r158719, remove PPCRegisterInfo::avoidWriteAfterWrite.
Jakob pointed out in response to r158719 that this callback is currently unused
and so this has no effect (and the speedups that I thought that I had observed
as a result of implementing this function must have been noise).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCRegisterInfo.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.cpp b/lib/Target/PowerPC/PPCRegisterInfo.cpp index cf397a5..5ce284b 100644 --- a/lib/Target/PowerPC/PPCRegisterInfo.cpp +++ b/lib/Target/PowerPC/PPCRegisterInfo.cpp @@ -163,20 +163,6 @@ PPCRegisterInfo::getRegPressureLimit(const TargetRegisterClass *RC, } } -bool -PPCRegisterInfo::avoidWriteAfterWrite(const TargetRegisterClass *RC) const { - switch (RC->getID()) { - case PPC::G8RCRegClassID: - case PPC::GPRCRegClassID: - case PPC::F8RCRegClassID: - case PPC::F4RCRegClassID: - case PPC::VRRCRegClassID: - return true; - default: - return false; - } -} - //===----------------------------------------------------------------------===// // Stack Frame Processing methods //===----------------------------------------------------------------------===// |