mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 18:37:56 +00:00
Simplify code. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248610 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d8f2872888
commit
de51d0d449
@ -224,12 +224,7 @@ bool AggressiveAntiDepBreaker::IsImplicitDefUse(MachineInstr *MI,
|
||||
if (Reg == 0)
|
||||
return false;
|
||||
|
||||
MachineOperand *Op = nullptr;
|
||||
if (MO.isDef())
|
||||
Op = MI->findRegisterUseOperand(Reg, true);
|
||||
else
|
||||
Op = MI->findRegisterDefOperand(Reg);
|
||||
|
||||
MachineOperand *Op = MI->findRegisterUseOperand(Reg, /*isKill=*/MO.isDef());
|
||||
return(Op && Op->isImplicit());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user