From: Geoff Berry Date: Wed, 28 Jun 2017 19:36:10 +0000 (+0000) Subject: [AArch64][Falkor] Attempt to fix Windows buildbots X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f340eacb76f2caccde61d1b73cce76aa3d7d2a63;p=llvm [AArch64][Falkor] Attempt to fix Windows buildbots git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306588 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/lib/Target/AArch64/AArch64TargetTransformInfo.cpp index d81ccbd39ad..a76f080530b 100644 --- a/lib/Target/AArch64/AArch64TargetTransformInfo.cpp +++ b/lib/Target/AArch64/AArch64TargetTransformInfo.cpp @@ -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