Selaa lähdekoodia

Make LiveDebugValues preserve CFG

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272117 91177308-0d34-0410-b5e6-96231b3b80d8
Matt Arsenault 9 vuotta sitten
vanhempi
commit
c9cf0c849e
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      lib/CodeGen/LiveDebugValues.cpp

+ 1 - 0
lib/CodeGen/LiveDebugValues.cpp

@@ -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);
 }