forked from OSchip/llvm-project
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:
parent
48b1fd74dc
commit
21d0a8cca0
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue