From: Nick Lewycky Date: Mon, 30 Jun 2008 01:04:39 +0000 (+0000) Subject: Because of the laziness, the required passes must exist even after X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=69c8d9be02ddf696f0c4153193d973c82a2e2835;p=oota-llvm.git 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 --- diff --git a/include/llvm/Analysis/LoopVR.h b/include/llvm/Analysis/LoopVR.h index ce9d95b40f6..db260c43507 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(); - AU.addRequired(); + AU.addRequiredTransitive(); + AU.addRequiredTransitive(); AU.setPreservesAll(); }