From f9fd8193fb7fb1d2606a94c5946b83f28e25e0e2 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 1 Feb 2015 21:13:26 +0000 Subject: [PATCH] LoopVectorize: Remove initializer list that blocks MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227766 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Vectorize/LoopVectorize.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 8de6127721d..988c8bef4c9 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -558,10 +558,10 @@ public: : NumPredStores(0), TheLoop(L), SE(SE), DL(DL), TLI(TLI), TheFunction(F), TTI(TTI), Induction(nullptr), WidestIndTy(nullptr), LAA(F, L, SE, DL, TLI, AA, DT, - {MaxVectorWidth, VectorizationFactor, VectorizationInterleave, - RuntimeMemoryCheckThreshold}), - HasFunNoNaNAttr(false) { - } + LoopAccessAnalysis::VectorizerParams( + MaxVectorWidth, VectorizationFactor, VectorizationInterleave, + RuntimeMemoryCheckThreshold)), + HasFunNoNaNAttr(false) {} /// This enum represents the kinds of reductions that we support. enum ReductionKind { -- 2.34.1