From 97e52e43361e77963145b95a576db11b4d14d309 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 28 Apr 2002 21:27:06 +0000 Subject: Tighten up the AnalysisUsage of lots of passes, primarily to correctly indicate whether or not they invalidate the CFGA git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2386 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/LevelRaise.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/Transforms/LevelRaise.cpp') diff --git a/lib/Transforms/LevelRaise.cpp b/lib/Transforms/LevelRaise.cpp index 77d06a0946..07981d0aa3 100644 --- a/lib/Transforms/LevelRaise.cpp +++ b/lib/Transforms/LevelRaise.cpp @@ -472,6 +472,10 @@ static bool doRPR(Function *F) { namespace { struct RaisePointerReferences : public FunctionPass { virtual bool runOnFunction(Function *F) { return doRPR(F); } + + virtual void getAnalysisUsage(AnalysisUsage &AU) const { + AU.preservesCFG(); + } }; } -- cgit v1.2.3-18-g5258