summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-08-29 03:33:15 +0000
committerHal Finkel <hfinkel@anl.gov>2013-08-29 03:33:15 +0000
commit8e83820a04a48d83bbdad08d5de7cc9ec77ce942 (patch)
tree4804961f4617d5ec50f6afe54feb2c73bde6b132 /llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
parent63e6c0e9fb956f70b5e862fb2e0c241c1ae31bb0 (diff)
downloadbcm5719-llvm-8e83820a04a48d83bbdad08d5de7cc9ec77ce942.tar.gz
bcm5719-llvm-8e83820a04a48d83bbdad08d5de7cc9ec77ce942.zip
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. llvm-svn: 189566
Diffstat (limited to 'llvm/lib/CodeGen/BasicTargetTransformInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/BasicTargetTransformInfo.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp b/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
index e1380b73e9e..d5340e60231 100644
--- a/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud