From b1630a1487b7026c61ae232fefa1016c986b7062 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 8 Jun 2016 05:18:01 +0000 Subject: [PATCH] Make LiveDebugValues preserve CFG llvm-svn: 272117 --- llvm/lib/CodeGen/LiveDebugValues.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues.cpp index 423afba687c4..1297273ee5b5 100644 --- a/llvm/lib/CodeGen/LiveDebugValues.cpp +++ b/llvm/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); }