summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSched
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-23 03:30:47 +0000
committerChris Lattner <sabre@nondot.org>2002-10-23 03:30:47 +0000
commite97144120d67b20a5d473fe610e695c13c5b3e05 (patch)
treeaae3dcc38a9e8353273dd22ed5ee9ca1fb028a0f /llvm/lib/CodeGen/InstrSched
parent42c66c488705798605a64f840db45690942593e8 (diff)
downloadbcm5719-llvm-e97144120d67b20a5d473fe610e695c13c5b3e05.tar.gz
bcm5719-llvm-e97144120d67b20a5d473fe610e695c13c5b3e05.zip
Tell PassManager that this pass does not invalidate the CFG so that dominator
information and Loop info will not have to be recomputed after this runs. llvm-svn: 4269
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched')
-rw-r--r--llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
index a985680da3d..9818b708381 100644
--- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
+++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
@@ -1499,6 +1499,7 @@ namespace {
// getAnalysisUsage - We use LiveVarInfo...
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<FunctionLiveVarInfo>();
+ AU.setPreservesCFG();
}
bool runOnFunction(Function &F);
OpenPOWER on IntegriCloud