[llvm] [llvm-mca][FeatureRequest] Itimeline graph, note source of delay for each instruction (PR #136423)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 21 01:49:35 PDT 2025


================
@@ -256,6 +265,13 @@ void TimelineView::printTimelineViewEntry(formatted_raw_ostream &OS,
 
 static void printTimelineHeader(formatted_raw_ostream &OS, unsigned Cycles) {
   OS << "\n\nTimeline view:\n";
+  OS << "D: Instruction Dispatched\n";
+  OS << "e: Instruction Executingn\n";
----------------
arsenm wrote:

This can all be a print of one big literal instead of multiple OS << statements 

https://github.com/llvm/llvm-project/pull/136423


More information about the llvm-commits mailing list