[llvm] r306588 - [AArch64][Falkor] Attempt to fix Windows buildbots
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 28 12:36:10 PDT 2017
Author: gberry
Date: Wed Jun 28 12:36:10 2017
New Revision: 306588
URL: http://llvm.org/viewvc/llvm-project?rev=306588&view=rev
Log:
[AArch64][Falkor] Attempt to fix Windows buildbots
Modified:
llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp?rev=306588&r1=306587&r2=306588&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp Wed Jun 28 12:36:10 2017
@@ -655,7 +655,7 @@ unsigned AArch64TTIImpl::getMaxInterleav
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
More information about the llvm-commits
mailing list