Resurrect initializers for NumLoads and NumStores in LoopVectorizationLegality to...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 3 Feb 2015 03:55:06 +0000 (03:55 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 3 Feb 2015 03:55:06 +0000 (03:55 +0000)
FIXME: Shall they be managed in LAA?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227940 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/LoopVectorize.cpp

index 988c8bef4c9f657e76ff7e38c7e91f13233674ec..e6d837134757cbe316602ad0092403037a50b15c 100644 (file)
@@ -555,8 +555,9 @@ public:
                             DominatorTree *DT, TargetLibraryInfo *TLI,
                             AliasAnalysis *AA, Function *F,
                             const TargetTransformInfo *TTI)
-      : NumPredStores(0), TheLoop(L), SE(SE), DL(DL), TLI(TLI), TheFunction(F),
-        TTI(TTI), Induction(nullptr), WidestIndTy(nullptr),
+      : NumLoads(0), NumStores(0), 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,
             LoopAccessAnalysis::VectorizerParams(
                 MaxVectorWidth, VectorizationFactor, VectorizationInterleave,