[PATCH] D44309: [llvm-mca] Refactor event listeners to make the backend agnostic to event types.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 12 10:29:20 PDT 2018


RKSimon added inline comments.


================
Comment at: tools/llvm-mca/TimelineView.cpp:44
+    TVEntry.CycleRetired = CurrentCycle;
+    LastCycle = std::max(LastCycle, CurrentCycle);
+
----------------
Isn't this repeated at the end of the function?


Repository:
  rL LLVM

https://reviews.llvm.org/D44309





More information about the llvm-commits mailing list