summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-06-30 01:04:39 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-06-30 01:04:39 +0000
commit21d0a8cca0fffb39a66ad9c5f4258a854949414f (patch)
tree9076856700fd2a5dd25bf15819adaa2654245e59 /llvm
parent48b1fd74dc7b0654ac674d69cfc52cd311d640c9 (diff)
downloadbcm5719-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.h4
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();
}
OpenPOWER on IntegriCloud