diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-02-01 14:31:23 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-02-01 14:31:23 +0000 |
| commit | ab5cb36c401cd31c7e3cb57d7affc0efff3c61fb (patch) | |
| tree | 3d08d8b8d921c4a58f39196c5b537900ea1aa194 /llvm/lib/Target/AArch64 | |
| parent | c956ab66037e3b0e6b3a039728348de1db1c4ad6 (diff) | |
| download | bcm5719-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')
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h | 3 |
2 files changed, 2 insertions, 3 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; diff --git a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h index fffeb981b53..dd3fd1f5ab7 100644 --- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h +++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h @@ -132,8 +132,7 @@ public: unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys); - void getUnrollingPreferences(const Function *F, Loop *L, - TTI::UnrollingPreferences &UP); + void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP); Value *getOrCreateResultFromMemIntrinsic(IntrinsicInst *Inst, Type *ExpectedType); |

