From f340eacb76f2caccde61d1b73cce76aa3d7d2a63 Mon Sep 17 00:00:00 2001 From: Geoff Berry Date: Wed, 28 Jun 2017 19:36:10 +0000 Subject: [PATCH] [AArch64][Falkor] Attempt to fix Windows buildbots git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306588 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AArch64/AArch64TargetTransformInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1