[LoopVectorize] Remove an unused private AA pointer
authorHal Finkel <hfinkel@anl.gov>
Sun, 20 Jul 2014 23:28:25 +0000 (23:28 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 20 Jul 2014 23:28:25 +0000 (23:28 +0000)
Thanks to the lld-x86_64-darwin13 builder for catching this first.

llvm-svn: 213488

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

index 4e8b599..13201bf 100644 (file)
@@ -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).