diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp index 6e29a41b617a8..5bdd86aebcd03 100644 --- a/llvm/lib/CodeGen/VirtRegMap.cpp +++ b/llvm/lib/CodeGen/VirtRegMap.cpp @@ -275,7 +275,7 @@ bool VirtRegRewriter::runOnMachineFunction(MachineFunction &fn) { // Rewrite virtual registers. rewrite(); - if (DebugVars && ClearVirtRegs) { + if (ClearVirtRegs) { // Write out new DBG_VALUE instructions. // We only do this if ClearVirtRegs is specified since this should be the