diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-08 19:23:34 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-08 19:23:34 +0000 |
commit | 59ae6b99872953761dfda5984801d23a66692673 (patch) | |
tree | e794255fcc7f10ec803e099c95cc0273f1c0352e /include/llvm/Analysis/ScalarEvolution.h | |
parent | 85ebb0f66cf07ff071323ff314d58449decd4316 (diff) | |
download | external_llvm-59ae6b99872953761dfda5984801d23a66692673.zip external_llvm-59ae6b99872953761dfda5984801d23a66692673.tar.gz external_llvm-59ae6b99872953761dfda5984801d23a66692673.tar.bz2 |
Make the code that updates ScalarEvolution's internal state in response
to a loop deletion more thorough. Don't prune the def-use tree search at
instructions that don't have SCEVs computed, because an instruction with
a user that has a computed SCEV may itself lack a computed SCEV. Also,
remove loop-related values from the ValuesAtScopes and
ConstantEvolutionLoopExitValues maps as well.
This fixes a regression in 483.xalancbmk.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ScalarEvolution.h')
-rw-r--r-- | include/llvm/Analysis/ScalarEvolution.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index b60a085..eec7ec8 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -346,11 +346,6 @@ namespace llvm { Constant *getConstantEvolutionLoopExitValue(PHINode *PN, const APInt& BEs, const Loop *L); - /// forgetLoopPHIs - Delete the memoized SCEVs associated with the - /// PHI nodes in the given loop. This is used when the trip count of - /// the loop may have changed. - void forgetLoopPHIs(const Loop *L); - public: static char ID; // Pass identification, replacement for typeid ScalarEvolution(); |