[PM/AA] Remove the last of the legacy update API from AliasAnalysis as
[oota-llvm.git] / lib / Analysis / AliasSetTracker.cpp
index 54d0f4304e1ff654341834f793ef2d039ea47c33..3369cc5bf42e02915e35fe55b348674384c6b931 100644 (file)
@@ -505,9 +505,6 @@ bool AliasSetTracker::remove(Instruction *I) {
 // dangling pointers to deleted instructions.
 //
 void AliasSetTracker::deleteValue(Value *PtrVal) {
-  // Notify the alias analysis implementation that this value is gone.
-  AA.deleteValue(PtrVal);
-
   // If this is a call instruction, remove the callsite from the appropriate
   // AliasSet (if present).
   if (Instruction *Inst = dyn_cast<Instruction>(PtrVal)) {