commit | 3bb0fcc11874c1627453f6b1ce3c27b5ad265028 | [log] [tgz] |
---|---|---|
author | Matthias Braun <matze@braunis.de> | Wed Apr 06 02:46:04 2016 +0000 |
committer | Matthias Braun <matze@braunis.de> | Wed Apr 06 02:46:04 2016 +0000 |
tree | a6ebd33191a65022800f35c5de44ae328bc0f1ad | |
parent | 6f2e37429af186069cb93a30b436cb567293f047 [diff] [blame] |
LivePhysRegs: Remove redundant check llvm-svn: 265509
diff --git a/llvm/lib/CodeGen/LivePhysRegs.cpp b/llvm/lib/CodeGen/LivePhysRegs.cpp index be8c02c..6cb3ee1 100644 --- a/llvm/lib/CodeGen/LivePhysRegs.cpp +++ b/llvm/lib/CodeGen/LivePhysRegs.cpp
@@ -57,7 +57,7 @@ // 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)