projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2e374
)
LivePhysRegs: Remove redundant check
author
Matthias Braun
<matze@braunis.de>
Wed, 6 Apr 2016 02:46:04 +0000
(
02:46
+0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 6 Apr 2016 02:46:04 +0000
(
02:46
+0000)
llvm-svn: 265509
llvm/lib/CodeGen/LivePhysRegs.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/LivePhysRegs.cpp
b/llvm/lib/CodeGen/LivePhysRegs.cpp
index
be8c02c
..
6cb3ee1
100644
(file)
--- 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)