aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
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
commitf208398528efde82bc49f48d0fef0587c1f192bb (patch)
treedd57283918e3de76f939f609b2897a94f93330a6 /lib/Analysis
parent32f258b96a723b771eb44a2c0689b8bf4dd871ee (diff)
downloadexternal_llvm-f208398528efde82bc49f48d0fef0587c1f192bb.zip
external_llvm-f208398528efde82bc49f48d0fef0587c1f192bb.tar.gz
external_llvm-f208398528efde82bc49f48d0fef0587c1f192bb.tar.bz2
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/Analysis')
-rw-r--r--lib/Analysis/TargetTransformInfo.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Analysis/TargetTransformInfo.cpp b/lib/Analysis/TargetTransformInfo.cpp
index b587ff2..8c6005b 100644
--- a/lib/Analysis/TargetTransformInfo.cpp
+++ b/lib/Analysis/TargetTransformInfo.cpp
@@ -96,11 +96,6 @@ bool TargetTransformInfo::isLoweredToCall(const Function *F) const {
return PrevTTI->isLoweredToCall(F);
}
-bool TargetTransformInfo::getUnrollingPreferences(
- UnrollingPreferences &UP) const {
- return PrevTTI->getUnrollingPreferences(UP);
-}
-
bool TargetTransformInfo::isLegalAddImmediate(int64_t Imm) const {
return PrevTTI->isLegalAddImmediate(Imm);
}
@@ -474,10 +469,6 @@ struct NoTTI : ImmutablePass, TargetTransformInfo {
return true;
}
- virtual bool getUnrollingPreferences(UnrollingPreferences &) const {
- return false;
- }
-
bool isLegalAddImmediate(int64_t Imm) const {
return false;
}