From: Eric Christopher Date: Tue, 14 Oct 2014 23:58:51 +0000 (+0000) Subject: No need to cache this unused variable. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=2ff93bfec66bf9250437b4d9e97d0103327ee594 No need to cache this unused variable. Patch by Ehsan Akhgari. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219749 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index f3bd96c028c..f117a23b824 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -889,7 +889,7 @@ public: AssumptionTracker *AT, const Function *F, const LoopVectorizeHints *Hints) : TheLoop(L), SE(SE), LI(LI), Legal(Legal), TTI(TTI), DL(DL), TLI(TLI), - AT(AT), TheFunction(F), Hints(Hints) { + TheFunction(F), Hints(Hints) { CodeMetrics::collectEphemeralValues(L, AT, EphValues); } @@ -977,8 +977,6 @@ private: const DataLayout *DL; /// Target Library Info. const TargetLibraryInfo *TLI; - /// Tracker for @llvm.assume. - AssumptionTracker *AT; const Function *TheFunction; // Loop Vectorize Hint. const LoopVectorizeHints *Hints;