[multiversion] Remove the function parameter from the unrolling
[oota-llvm.git] / lib / Target / AArch64 / AArch64TargetTransformInfo.cpp
index eab080bb24c38d1a44b377096ef99a6672167155..0646d855ab73177fb2a431ec2f453a0e532b07f6 100644 (file)
@@ -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;