Skip to content

Commit

Permalink
[Hexagon] Remove duplicated code, NFC
Browse files Browse the repository at this point in the history
llvm-svn: 329436
  • Loading branch information
Krzysztof Parzyszek committed Apr 6, 2018
1 parent e92f0cf commit 269740a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 269740a

Please sign in to comment.