[llvm] r329436 - [Hexagon] Remove duplicated code, NFC
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 6 11:10:13 PDT 2018
Author: kparzysz
Date: Fri Apr 6 11:10:13 2018
New Revision: 329436
URL: http://llvm.org/viewvc/llvm-project?rev=329436&view=rev
Log:
[Hexagon] Remove duplicated code, NFC
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp?rev=329436&r1=329435&r2=329436&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp Fri Apr 6 11:10:13 2018
@@ -1845,15 +1845,6 @@ bool HexagonPacketizerList::producesStal
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;
}
More information about the llvm-commits
mailing list