[llvm] [llvm-mca][FeatureRequest] Itimeline graph, note source of delay for each instruction (PR #136423)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 20 12:38:52 PDT 2025
================
@@ -231,7 +235,12 @@ void TimelineView::printTimelineViewEntry(formatted_raw_ostream &OS,
// Zero latency instructions have the same value for CycleDispatched,
// CycleIssued and CycleExecuted.
for (unsigned I = CycleDispatched + 1, E = Entry.CycleIssued; I < E; ++I)
- OS << TimelineView::DisplayChar::Waiting;
+ if (I >= Entry.CycleReady) {
----------------
mshockwave wrote:
remove curly braces. ditto for the line below
https://github.com/llvm/llvm-project/pull/136423
More information about the llvm-commits
mailing list