[PATCH] D33439: Fix comment in HexagonPacketizer::runOnMachineFunction
Wei-Ren Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 23 06:04:23 PDT 2017
chenwj created this revision.
According to the context, should be "Find first ...", not "First first".
https://reviews.llvm.org/D33439
Files:
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
Index: lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
===================================================================
--- lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
+++ lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
@@ -214,12 +214,12 @@
for (auto &MB : MF) {
auto Begin = MB.begin(), End = MB.end();
while (Begin != End) {
- // First the first non-boundary starting from the end of the last
+ // Find the first non-boundary starting from the end of the last
// scheduling region.
MachineBasicBlock::iterator RB = Begin;
while (RB != End && HII->isSchedulingBoundary(*RB, &MB, MF))
++RB;
- // First the first boundary starting from the beginning of the new
+ // Find the first boundary starting from the beginning of the new
// region.
MachineBasicBlock::iterator RE = RB;
while (RE != End && !HII->isSchedulingBoundary(*RE, &MB, MF))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33439.99892.patch
Type: text/x-patch
Size: 921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170523/d31db1ef/attachment.bin>
More information about the llvm-commits
mailing list