]> granicus.if.org Git - llvm/commitdiff
[AArch64][Falkor] Attempt to fix Windows buildbots
authorGeoff Berry <gberry@codeaurora.org>
Wed, 28 Jun 2017 19:36:10 +0000 (19:36 +0000)
committerGeoff Berry <gberry@codeaurora.org>
Wed, 28 Jun 2017 19:36:10 +0000 (19:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306588 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64TargetTransformInfo.cpp

index d81ccbd39adce213baaec0e7aff9530a6eb1ac49..a76f080530bbc3890d308824f3846da17912ae32 100644 (file)
@@ -655,7 +655,7 @@ unsigned AArch64TTIImpl::getMaxInterleaveFactor(unsigned VF) {
 static void
 getFalkorUnrollingPreferences(Loop *L, ScalarEvolution &SE,
                               TargetTransformInfo::UnrollingPreferences &UP) {
-  const int MaxStridedLoads = 7;
+  enum { MaxStridedLoads = 7 };
   auto countStridedLoads = [](Loop *L, ScalarEvolution &SE) {
     int StridedLoads = 0;
     // FIXME? We could make this more precise by looking at the CFG and