[llvm] r277981 - [PM] BasicAA needs to be invalidated since it holds pointers to other stuff.
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 7 22:38:04 PDT 2016
Author: silvas
Date: Mon Aug 8 00:38:03 2016
New Revision: 277981
URL: http://llvm.org/viewvc/llvm-project?rev=277981&view=rev
Log:
[PM] BasicAA needs to be invalidated since it holds pointers to other stuff.
Modified:
llvm/trunk/include/llvm/Analysis/BasicAliasAnalysis.h
Modified: llvm/trunk/include/llvm/Analysis/BasicAliasAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/BasicAliasAnalysis.h?rev=277981&r1=277980&r2=277981&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/BasicAliasAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/BasicAliasAnalysis.h Mon Aug 8 00:38:03 2016
@@ -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);
More information about the llvm-commits
mailing list