[Hexagon] Remove duplicated code, NFC

llvm-svn: 329436
This commit is contained in:
Krzysztof Parzyszek 2018-04-06 18:10:13 +00:00
parent e92f0cfe34
commit 269740a88e
1 changed files with 0 additions and 9 deletions

View File

@ -1845,15 +1845,6 @@ bool HexagonPacketizerList::producesStall(const MachineInstr &I) {
return true;
}
// Check if the latency is greater than one between this instruction and any
// instruction in the previous packet.
for (auto J : OldPacketMIs) {
SUnit *SUJ = MIToSUnit[J];
for (auto &Pred : SUI->Preds)
if (Pred.getSUnit() == SUJ && Pred.getLatency() > 1)
return true;
}
return false;
}