Skip to content

Commit 05c16f4

Browse files
committed
[VirtRegMap] Simplify condition after #65729
1 parent fa58847 commit 05c16f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/VirtRegMap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ bool VirtRegRewriter::runOnMachineFunction(MachineFunction &fn) {
275275
// Rewrite virtual registers.
276276
rewrite();
277277

278-
if (DebugVars && ClearVirtRegs) {
278+
if (ClearVirtRegs) {
279279
// Write out new DBG_VALUE instructions.
280280

281281
// We only do this if ClearVirtRegs is specified since this should be the

0 commit comments

Comments
 (0)