diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-04-09 06:55:46 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-04-09 06:55:46 +0000 |
commit | 9055ccdb6b33607e32ac83a8e9289fba44d1989a (patch) | |
tree | b7c3a7aa2c15dd8b5923241c64ed936974417247 /include/llvm/Analysis | |
parent | 83d13a046fc6d94a3a44a023a7ebad6f0cda333b (diff) | |
download | external_llvm-9055ccdb6b33607e32ac83a8e9289fba44d1989a.zip external_llvm-9055ccdb6b33607e32ac83a8e9289fba44d1989a.tar.gz external_llvm-9055ccdb6b33607e32ac83a8e9289fba44d1989a.tar.bz2 |
PR9604; try to deal with RAUW updates correctly in the AST. I'm not convinced
it's completely safe to cache the AST across LICM runs even with this fix,
but this fix can't hurt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/AliasSetTracker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h index 4efa396..03149c66 100644 --- a/include/llvm/Analysis/AliasSetTracker.h +++ b/include/llvm/Analysis/AliasSetTracker.h @@ -284,6 +284,7 @@ class AliasSetTracker { class ASTCallbackVH : public CallbackVH { AliasSetTracker *AST; virtual void deleted(); + virtual void allUsesReplacedWith(Value *); public: ASTCallbackVH(Value *V, AliasSetTracker *AST = 0); ASTCallbackVH &operator=(Value *V); |