summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-02-01 14:31:23 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-02-01 14:31:23 +0000
commitab5cb36c401cd31c7e3cb57d7affc0efff3c61fb (patch)
tree3d08d8b8d921c4a58f39196c5b537900ea1aa194 /llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
parentc956ab66037e3b0e6b3a039728348de1db1c4ad6 (diff)
downloadbcm5719-llvm-ab5cb36c401cd31c7e3cb57d7affc0efff3c61fb.tar.gz
bcm5719-llvm-ab5cb36c401cd31c7e3cb57d7affc0efff3c61fb.zip
[multiversion] Remove the function parameter from the unrolling
preferences interface on TTI now that all of TTI is per-function. llvm-svn: 227741
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
index eab080bb24c..0646d855ab7 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
@@ -424,7 +424,7 @@ unsigned AArch64TTIImpl::getMaxInterleaveFactor() {
return 2;
}
-void AArch64TTIImpl::getUnrollingPreferences(const Function *F, Loop *L,
+void AArch64TTIImpl::getUnrollingPreferences(Loop *L,
TTI::UnrollingPreferences &UP) {
// Disable partial & runtime unrolling on -Os.
UP.PartialOptSizeThreshold = 0;
OpenPOWER on IntegriCloud