diff --git a/llvm/lib/CodeGen/DFAPacketizer.cpp b/llvm/lib/CodeGen/DFAPacketizer.cpp --- a/llvm/lib/CodeGen/DFAPacketizer.cpp +++ b/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); } diff --git a/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp b/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp --- a/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp +++ b/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) {