forked from OSchip/llvm-project
parent
a67559c106
commit
d9f102b464
|
@ -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…
Reference in New Issue