LoopVectorize: Remove initializer list that blocks MSVC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 1 Feb 2015 21:13:26 +0000 (21:13 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 1 Feb 2015 21:13:26 +0000 (21:13 +0000)
llvm-svn: 227766

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

index 8de6127..988c8be 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 {