[PATCH] D95692: [Pipeliner] Fixed optimization remarks and debug dumps Initiation Interval value
Marianne Mailhot-Sarrasin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 29 11:45:24 PST 2021
mamai created this revision.
mamai added a reviewer: bcahoon.
Herald added a subscriber: hiraditya.
mamai requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The II value is incremented before exiting the loop, and therefor when used in the optimization remarks and debug dumps it did not reflect the initiation interval actually used in Schedule.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95692
Files:
llvm/lib/CodeGen/MachinePipeliner.cpp
Index: llvm/lib/CodeGen/MachinePipeliner.cpp
===================================================================
--- llvm/lib/CodeGen/MachinePipeliner.cpp
+++ llvm/lib/CodeGen/MachinePipeliner.cpp
@@ -2123,6 +2123,7 @@
if (scheduleFound)
scheduleFound = Schedule.isValidSchedule(this);
}
+ --II;
LLVM_DEBUG(dbgs() << "Schedule Found? " << scheduleFound << " (II=" << II
<< ")\n");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95692.320181.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210129/5d6bb593/attachment.bin>
More information about the llvm-commits
mailing list