summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSched
diff options
context:
space:
mode:
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