mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 01:12:53 +00:00
LivePhysRegs: Remove redundant check
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265509 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
15709846d4
commit
1685c6f7ca
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user