summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-03-16 22:50:51 +0000
committerHal Finkel <hfinkel@anl.gov>2013-03-16 22:50:51 +0000
commit8b0470393b1958fc29a45b632efea57f5ce469da (patch)
tree0acee8b8af6d9e2718151e253e221d062d7906b0 /llvm/lib/Target/PowerPC/PPCRegisterInfo.h
parent6057017c68fa7944bcf3c50856172fb73b025dbd (diff)
downloadbcm5719-llvm-8b0470393b1958fc29a45b632efea57f5ce469da.tar.gz
bcm5719-llvm-8b0470393b1958fc29a45b632efea57f5ce469da.zip
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). llvm-svn: 177228
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCRegisterInfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCRegisterInfo.h b/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
index 1be3fbcc433..5f89f630ed9 100644
--- a/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCRegisterInfo.h
@@ -47,8 +47,6 @@ public:
BitVector getReservedRegs(const MachineFunction &MF) const;
- virtual bool avoidWriteAfterWrite(const TargetRegisterClass *RC) const;
-
/// We require the register scavenger.
bool requiresRegisterScavenging(const MachineFunction &MF) const {
return true;
OpenPOWER on IntegriCloud