LoopVectorize: Remove initializer list that blocks MSVC.
[oota-llvm.git] / lib / Transforms / Vectorize / LoopVectorize.cpp
index 8de6127721da602e1175525ada0a9fb1af470213..988c8bef4c9f657e76ff7e38c7e91f13233674ec 100644 (file)
@@ -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 {