[llvm] r329649 - Fix for the buildbot failure. Now-unused private field TTI deleted.
Hideki Saito via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 9 17:38:37 PDT 2018
Author: hsaito
Date: Mon Apr 9 17:38:36 2018
New Revision: 329649
URL: http://llvm.org/viewvc/llvm-project?rev=329649&view=rev
Log:
Fix for the buildbot failure. Now-unused private field TTI deleted.
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=329649&r1=329648&r2=329649&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Mon Apr 9 17:38:36 2018
@@ -1516,11 +1516,10 @@ public:
LoopVectorizationLegality(
Loop *L, PredicatedScalarEvolution &PSE, DominatorTree *DT,
TargetLibraryInfo *TLI, AliasAnalysis *AA, Function *F,
- const TargetTransformInfo *TTI,
std::function<const LoopAccessInfo &(Loop &)> *GetLAA, LoopInfo *LI,
OptimizationRemarkEmitter *ORE, LoopVectorizationRequirements *R,
LoopVectorizeHints *H, DemandedBits *DB, AssumptionCache *AC)
- : TheLoop(L), PSE(PSE), TLI(TLI), TTI(TTI), DT(DT), GetLAA(GetLAA),
+ : TheLoop(L), PSE(PSE), TLI(TLI), DT(DT), GetLAA(GetLAA),
ORE(ORE), Requirements(R), Hints(H), DB(DB), AC(AC) {}
/// ReductionList contains the reduction descriptors for all
@@ -1683,9 +1682,6 @@ private:
/// Target Library Info.
TargetLibraryInfo *TLI;
- /// Target Transform Info
- const TargetTransformInfo *TTI;
-
/// Dominator Tree.
DominatorTree *DT;
@@ -8338,7 +8334,7 @@ bool LoopVectorizePass::processLoop(Loop
// Check if it is legal to vectorize the loop.
LoopVectorizationRequirements Requirements(*ORE);
- LoopVectorizationLegality LVL(L, PSE, DT, TLI, AA, F, TTI, GetLAA, LI, ORE,
+ LoopVectorizationLegality LVL(L, PSE, DT, TLI, AA, F, GetLAA, LI, ORE,
&Requirements, &Hints, DB, AC);
if (!LVL.canVectorize()) {
DEBUG(dbgs() << "LV: Not vectorizing: Cannot prove legality.\n");
More information about the llvm-commits
mailing list