[llvm-commits] [llvm] r52886 - /llvm/trunk/include/llvm/Analysis/LoopVR.h
Nick Lewycky
nicholas at mxc.ca
Sun Jun 29 18:04:40 PDT 2008
Author: nicholas
Date: Sun Jun 29 20:04:39 2008
New Revision: 52886
URL: http://llvm.org/viewvc/llvm-project?rev=52886&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Analysis/LoopVR.h
Modified: llvm/trunk/include/llvm/Analysis/LoopVR.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopVR.h?rev=52886&r1=52885&r2=52886&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/LoopVR.h (original)
+++ llvm/trunk/include/llvm/Analysis/LoopVR.h Sun Jun 29 20:04:39 2008
@@ -37,8 +37,8 @@
void releaseMemory();
void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.addRequired<LoopInfo>();
- AU.addRequired<ScalarEvolution>();
+ AU.addRequiredTransitive<LoopInfo>();
+ AU.addRequiredTransitive<ScalarEvolution>();
AU.setPreservesAll();
}
More information about the llvm-commits
mailing list