summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCInstrInfo.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-11-30 18:35:03 +0000
committerBob Wilson <bob.wilson@apple.com>2009-11-30 18:35:03 +0000
commit505ddaa4dc76317435eec4bae666b30761d3d11e (patch)
tree5e5e62723f53bde1d30bb345559151ef8540d858 /llvm/lib/Target/PowerPC/PPCInstrInfo.h
parent7bd1048f2663b64a6e414acd71810ccfa3d3a0ea (diff)
downloadbcm5719-llvm-505ddaa4dc76317435eec4bae666b30761d3d11e.tar.gz
bcm5719-llvm-505ddaa4dc76317435eec4bae666b30761d3d11e.zip
Remove isProfitableToDuplicateIndirectBranch target hook. It is profitable
for all the processors where I have tried it, and even when it might not help performance, the cost is quite low. The opportunities for duplicating indirect branches are limited by other factors so code size does not change much due to tail duplicating indirect branches aggressively. llvm-svn: 90144
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCInstrInfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.h b/llvm/lib/Target/PowerPC/PPCInstrInfo.h
index ab341bd779b..bb0dc15a792 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.h
@@ -151,8 +151,6 @@ public:
/// instruction may be. This returns the maximum number of bytes.
///
virtual unsigned GetInstSizeInBytes(const MachineInstr *MI) const;
-
- virtual bool isProfitableToDuplicateIndirectBranch() const { return true; }
};
}
OpenPOWER on IntegriCloud