From 69c8d9be02ddf696f0c4153193d973c82a2e2835 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 30 Jun 2008 01:04:39 +0000 Subject: [PATCH] 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 --- include/llvm/Analysis/LoopVR.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }