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 | 69c8d9be02ddf696f0c4153193d973c82a2e2835 (patch) | |
tree | 02ed4c1ec3fcfb664fb577908565db4a41cda1d5 | |
parent | a11e2eb845ffc1ad9aee0a96d6998a3e084edfcd (diff) | |
download | external_llvm-69c8d9be02ddf696f0c4153193d973c82a2e2835.tar.gz external_llvm-69c8d9be02ddf696f0c4153193d973c82a2e2835.tar.bz2 external_llvm-69c8d9be02ddf696f0c4153193d973c82a2e2835.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52886 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/LoopVR.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LoopVR.h b/include/llvm/Analysis/LoopVR.h index ce9d95b40f..db260c4350 100644 --- a/include/llvm/Analysis/LoopVR.h +++ b/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(); } |