[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 05:19:27 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0d2541827322: [NFC] Fix incorrect comment in VLIW packetizer (authored by benshi001).
Repository:
rG LLVM Github Monorepo
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.501471.patch
Type: text/x-patch
Size: 1174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230301/10757b9e/attachment.bin>
More information about the llvm-commits
mailing list