summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/TargetTransformInfo.cpp
diff options
context:
space:
mode:
authorOlivier Sallenave <ohsallen@us.ibm.com>2015-03-06 23:12:04 +0000
committerOlivier Sallenave <ohsallen@us.ibm.com>2015-03-06 23:12:04 +0000
commit049d803ce0c0256337da96f13d0082063c03f81d (patch)
treec4074aa2b2b1404ec2a66535aac1dd3d964ac5b8 /llvm/lib/Analysis/TargetTransformInfo.cpp
parent66b616351cc034d18c84519d5d1d1db32423639a (diff)
downloadbcm5719-llvm-049d803ce0c0256337da96f13d0082063c03f81d.tar.gz
bcm5719-llvm-049d803ce0c0256337da96f13d0082063c03f81d.zip
Do not restrict interleaved unrolling to small loops, depending on the target.
llvm-svn: 231528
Diffstat (limited to 'llvm/lib/Analysis/TargetTransformInfo.cpp')
-rw-r--r--llvm/lib/Analysis/TargetTransformInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/TargetTransformInfo.cpp b/llvm/lib/Analysis/TargetTransformInfo.cpp
index 4d336363c5f..1b52d4a5502 100644
--- a/llvm/lib/Analysis/TargetTransformInfo.cpp
+++ b/llvm/lib/Analysis/TargetTransformInfo.cpp
@@ -143,6 +143,10 @@ bool TargetTransformInfo::shouldBuildLookupTables() const {
return TTIImpl->shouldBuildLookupTables();
}
+bool TargetTransformInfo::enableAggressiveInterleaving(bool LoopHasReductions) const {
+ return TTIImpl->enableAggressiveInterleaving(LoopHasReductions);
+}
+
TargetTransformInfo::PopcntSupportKind
TargetTransformInfo::getPopcntSupport(unsigned IntTyWidthInBit) const {
return TTIImpl->getPopcntSupport(IntTyWidthInBit);
OpenPOWER on IntegriCloud