[PM] BasicAA needs to be invalidated since it holds pointers to other stuff.
authorSean Silva <chisophugis@gmail.com>
Mon, 8 Aug 2016 05:38:03 +0000 (05:38 +0000)
committerSean Silva <chisophugis@gmail.com>
Mon, 8 Aug 2016 05:38:03 +0000 (05:38 +0000)
llvm-svn: 277981

llvm/include/llvm/Analysis/BasicAliasAnalysis.h

index a3195d1..ff3b288 100644 (file)
@@ -58,11 +58,6 @@ public:
       : AAResultBase(std::move(Arg)), DL(Arg.DL), TLI(Arg.TLI), AC(Arg.AC),
         DT(Arg.DT), LI(Arg.LI) {}
 
-  /// Handle invalidation events from the new pass manager.
-  ///
-  /// By definition, this result is stateless and so remains valid.
-  bool invalidate(Function &, const PreservedAnalyses &) { return false; }
-
   AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
 
   ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);