[PATCH] D20869: Make LiveDebugValues preserve CFG

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 09:00:15 PDT 2016


arsenm created this revision.
arsenm added a subscriber: llvm-commits.

http://reviews.llvm.org/D20869

Files:
  lib/CodeGen/LiveDebugValues.cpp

Index: lib/CodeGen/LiveDebugValues.cpp
===================================================================
--- lib/CodeGen/LiveDebugValues.cpp
+++ lib/CodeGen/LiveDebugValues.cpp
@@ -247,6 +247,7 @@
 /// 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);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20869.59229.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160601/b58115ae/attachment.bin>


More information about the llvm-commits mailing list