Because of the laziness, the required passes must exist even after

LoopVR::runOnFunction runs.

This should accomplish that, but it doesn't. I think that's a PassManager bug,
but without a consumer of LoopVR in the tree, I can't give steps to reproduce.

llvm-svn: 52886
This commit is contained in:
Nick Lewycky 2008-06-30 01:04:39 +00:00
parent 48b1fd74dc
commit 21d0a8cca0
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ public:
void releaseMemory();
void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LoopInfo>();
AU.addRequired<ScalarEvolution>();
AU.addRequiredTransitive<LoopInfo>();
AU.addRequiredTransitive<ScalarEvolution>();
AU.setPreservesAll();
}