diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-11-30 18:35:03 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-11-30 18:35:03 +0000 |
commit | 15217e63bce6c161b355b63d6496c7c327d15817 (patch) | |
tree | 79b92778bd4803ab19b5437742f094c8a3c669e7 /lib/Target/PowerPC/PPCInstrInfo.h | |
parent | afa1df467b04182c959e6c3031df5377a0062153 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.h b/lib/Target/PowerPC/PPCInstrInfo.h index ab341bd779..bb0dc15a79 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.h +++ b/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; } }; } |