diff options
| -rw-r--r-- | llvm/lib/CodeGen/LivePhysRegs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LivePhysRegs.cpp b/llvm/lib/CodeGen/LivePhysRegs.cpp index be8c02c212e..6cb3ee15a79 100644 --- a/llvm/lib/CodeGen/LivePhysRegs.cpp +++ b/llvm/lib/CodeGen/LivePhysRegs.cpp @@ -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) |

