diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-06-30 01:04:39 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-06-30 01:04:39 +0000 |
commit | 21d0a8cca0fffb39a66ad9c5f4258a854949414f (patch) | |
tree | 9076856700fd2a5dd25bf15819adaa2654245e59 /llvm | |
parent | 48b1fd74dc7b0654ac674d69cfc52cd311d640c9 (diff) | |
download | bcm5719-llvm-21d0a8cca0fffb39a66ad9c5f4258a854949414f.tar.gz bcm5719-llvm-21d0a8cca0fffb39a66ad9c5f4258a854949414f.zip |
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
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/Analysis/LoopVR.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Analysis/LoopVR.h b/llvm/include/llvm/Analysis/LoopVR.h index ce9d95b40f6..db260c43507 100644 --- a/llvm/include/llvm/Analysis/LoopVR.h +++ b/llvm/include/llvm/Analysis/LoopVR.h @@ -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(); } |