[llvm] r213488 - [LoopVectorize] Remove an unused private AA pointer

Hal Finkel hfinkel at anl.gov
Sun Jul 20 16:28:25 PDT 2014


Author: hfinkel
Date: Sun Jul 20 18:28:25 2014
New Revision: 213488

URL: http://llvm.org/viewvc/llvm-project?rev=213488&view=rev
Log:
[LoopVectorize] Remove an unused private AA pointer

Thanks to the lld-x86_64-darwin13 builder for catching this first.

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=213488&r1=213487&r2=213488&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Sun Jul 20 18:28:25 2014
@@ -3929,7 +3929,7 @@ public:
   typedef EquivalenceClasses<MemAccessInfo> DepCandidates;
 
   AccessAnalysis(const DataLayout *Dl, AliasAnalysis *AA, DepCandidates &DA) :
-    DL(Dl), AA(AA), AST(*AA), DepCands(DA), IsRTCheckNeeded(false) {}
+    DL(Dl), AST(*AA), DepCands(DA), IsRTCheckNeeded(false) {}
 
   /// \brief Register a load  and whether it is only read from.
   void addLoad(AliasAnalysis::Location &Loc, bool IsReadOnly) {
@@ -3984,7 +3984,6 @@ private:
   SmallPtrSet<Value*, 16> ReadOnlyPtr;
 
   const DataLayout *DL;
-  AliasAnalysis *AA;
 
   /// An alias set tracker to partition the access set by underlying object and
   //intrinsic property (such as TBAA metadata).





More information about the llvm-commits mailing list