Skip to content

Commit 27e8d5b

Browse files
authored
No more removing dead flags
1 parent 36a696d commit 27e8d5b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/CodeGen/LiveVariables.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,6 @@ void LiveVariables::runOnInstr(MachineInstr &MI,
534534
UseRegs.push_back(MOReg);
535535
} else {
536536
assert(MO.isDef());
537-
if (!(MOReg.isPhysical() && MRI->isReserved(MOReg)))
538-
MO.setIsDead(false);
539537
DefRegs.push_back(MOReg);
540538
}
541539
}

0 commit comments

Comments
 (0)