Make LiveDebugValues preserve CFG

llvm-svn: 272117
This commit is contained in:
Matt Arsenault 2016-06-08 05:18:01 +00:00
parent 53b7b3ca5f
commit b1630a1487
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ LiveDebugValues::LiveDebugValues() : MachineFunctionPass(ID) {
/// Tell the pass manager which passes we depend on and what information we
/// preserve.
void LiveDebugValues::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesCFG();
MachineFunctionPass::getAnalysisUsage(AU);
}