[llvm] r227766 - LoopVectorize: Remove initializer list that blocks MSVC.
Adam Nemet
anemet at apple.com
Sun Feb 1 13:39:16 PST 2015
Thanks! I was testing an identical fix but ran into some unexpected failures that I was still looking at. (They actually went away with a clean build.)
Adam
> On Feb 1, 2015, at 1:13 PM, Benjamin Kramer <benny.kra at googlemail.com> wrote:
>
> 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 {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list