diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-02-01 21:13:26 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-02-01 21:13:26 +0000 |
commit | ad960019b0e5d5478197949f3f31e36f5a3d2f60 (patch) | |
tree | faf772c5e73406c293f488130e3b28582f510b11 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 06e0f5a7843ef27b7c3972ed1adc894d05ea32b1 (diff) | |
download | bcm5719-llvm-ad960019b0e5d5478197949f3f31e36f5a3d2f60.tar.gz bcm5719-llvm-ad960019b0e5d5478197949f3f31e36f5a3d2f60.zip |
LoopVectorize: Remove initializer list that blocks MSVC.
llvm-svn: 227766
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 8de6127721d..988c8bef4c9 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/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 { |