summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
diff options
context:
space:
mode:
authorGeoff Berry <gberry@codeaurora.org>2017-06-28 19:36:10 +0000
committerGeoff Berry <gberry@codeaurora.org>2017-06-28 19:36:10 +0000
commit0abd9806807df697f88c7f1071bc5883aebdda31 (patch)
treebe5391bdd6d1b7c220e9e51bf61475dccafc72a6 /llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
parent8e11b6d94b863182fba4d83dd298789c4860dd23 (diff)
downloadbcm5719-llvm-0abd9806807df697f88c7f1071bc5883aebdda31.tar.gz
bcm5719-llvm-0abd9806807df697f88c7f1071bc5883aebdda31.zip
[AArch64][Falkor] Attempt to fix Windows buildbots
llvm-svn: 306588
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
index d81ccbd39ad..a76f080530b 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud