[llvm] r227766 - LoopVectorize: Remove initializer list that blocks MSVC.
Benjamin Kramer
benny.kra at googlemail.com
Sun Feb 1 13:13:27 PST 2015
Author: d0k
Date: Sun Feb 1 15:13:26 2015
New Revision: 227766
URL: http://llvm.org/viewvc/llvm-project?rev=227766&view=rev
Log:
LoopVectorize: Remove initializer list that blocks MSVC.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=227766&r1=227765&r2=227766&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Sun Feb 1 15:13:26 2015
@@ -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 {
More information about the llvm-commits
mailing list