Skip to content

Commit

Permalink
[VirtRegMap] Simplify condition after #65729
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Oct 11, 2023
1 parent fa58847 commit 05c16f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/VirtRegMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05c16f4

Please sign in to comment.