diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-08-29 03:33:15 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-08-29 03:33:15 +0000 |
commit | f208398528efde82bc49f48d0fef0587c1f192bb (patch) | |
tree | dd57283918e3de76f939f609b2897a94f93330a6 /lib/CodeGen/BasicTargetTransformInfo.cpp | |
parent | 32f258b96a723b771eb44a2c0689b8bf4dd871ee (diff) | |
download | llvm-f208398528efde82bc49f48d0fef0587c1f192bb.tar.gz llvm-f208398528efde82bc49f48d0fef0587c1f192bb.tar.bz2 llvm-f208398528efde82bc49f48d0fef0587c1f192bb.tar.xz |
Revert: r189565 - Add getUnrollingPreferences to TTI
Revert unintentional commit (of an unreviewed change).
Original commit message:
Add getUnrollingPreferences to TTI
Allow targets to customize the default behavior of the generic loop unrolling
transformation. This will be used by the PowerPC backend when targeting the A2
core (which is in-order with a deep pipeline), and using more aggressive
defaults is important.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BasicTargetTransformInfo.cpp')
-rw-r--r-- | lib/CodeGen/BasicTargetTransformInfo.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/BasicTargetTransformInfo.cpp b/lib/CodeGen/BasicTargetTransformInfo.cpp index e1380b73e9..d5340e6023 100644 --- a/lib/CodeGen/BasicTargetTransformInfo.cpp +++ b/lib/CodeGen/BasicTargetTransformInfo.cpp @@ -84,7 +84,6 @@ public: virtual unsigned getJumpBufSize() const; virtual bool shouldBuildLookupTables() const; virtual bool haveFastSqrt(Type *Ty) const; - virtual bool getUnrollingPreferences(UnrollingPreferences &UP) const; /// @} @@ -190,10 +189,6 @@ bool BasicTTI::haveFastSqrt(Type *Ty) const { return TLI->isTypeLegal(VT) && TLI->isOperationLegalOrCustom(ISD::FSQRT, VT); } -bool BasicTTI::getUnrollingPreferences(UnrollingPreferences &) const { - return false; -} - //===----------------------------------------------------------------------===// // // Calls used by the vectorizers. |