LivePhysRegs: Remove redundant check

llvm-svn: 265509
This commit is contained in:
Matthias Braun 2016-04-06 02:46:04 +00:00
parent 6f2e37429a
commit 3bb0fcc118
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ void LivePhysRegs::stepBackward(const MachineInstr &MI) {
// Add uses to the set.
for (ConstMIBundleOperands O(MI); O.isValid(); ++O) {
if (!O->isReg() || !O->readsReg() || O->isUndef())
if (!O->isReg() || !O->readsReg())
continue;
unsigned Reg = O->getReg();
if (Reg == 0)