[PATCH] D145050: [NFC] Fix incorrect comment in VLIW packetizer
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 1 04:40:48 PST 2023
benshi001 updated this revision to Diff 501461.
benshi001 retitled this revision from "[NFC][Hexagon] Fix incorrect comment in class HexagonPacketizerList" to "[NFC] Fix incorrect comment in VLIW packetizer".
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145050/new/
https://reviews.llvm.org/D145050
Files:
llvm/lib/CodeGen/DFAPacketizer.cpp
llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
Index: llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
===================================================================
--- llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
+++ llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
@@ -1318,7 +1318,7 @@
return (StoreJ && HII->isDeallocRet(I)) || (StoreI && HII->isDeallocRet(J));
}
-// SUI is the current instruction that is out side of the current packet.
+// SUI is the current instruction that is outside of the current packet.
// SUJ is the current instruction inside the current packet against which that
// SUI will be packetized.
bool HexagonPacketizerList::isLegalToPacketizeTogether(SUnit *SUI, SUnit *SUJ) {
Index: llvm/lib/CodeGen/DFAPacketizer.cpp
===================================================================
--- llvm/lib/CodeGen/DFAPacketizer.cpp
+++ llvm/lib/CodeGen/DFAPacketizer.cpp
@@ -234,7 +234,7 @@
"added to packet\n "
<< MI);
// End the packet if resource is not available, or if the instruction
- // shoud not be added to the current packet.
+ // should not be added to the current packet.
endPacket(MBB, MI);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145050.501461.patch
Type: text/x-patch
Size: 1174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230301/9673b3b8/attachment.bin>
More information about the llvm-commits
mailing list