[all-commits] [llvm/llvm-project] 15a16e: [MISched] Use StartAtCycle in trace dumps.
Francesco Petrogalli via All-commits
all-commits at lists.llvm.org
Mon Jun 12 00:23:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15a16ef8e06e5da382d135bc5074068ed14be6d6
https://github.com/llvm/llvm-project/commit/15a16ef8e06e5da382d135bc5074068ed14be6d6
Author: Francesco Petrogalli <francesco.petrogalli at apple.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M llvm/lib/CodeGen/MachineScheduler.cpp
M llvm/test/CodeGen/AArch64/dump-schedule-trace.mir
A llvm/test/CodeGen/AArch64/misched-sort-resource-in-trace.mir
Log Message:
-----------
[MISched] Use StartAtCycle in trace dumps.
This commit re-work the methods that dump traces with resource usage to take into account the StartAtCycle value added by https://reviews.llvm.org/D150310.
For each i, the values of the lists StartAtCycle and ReservedCycles is are printed with the interval [StartAtCycle[i], ReservedCycles[i])
```
... | StartAtCycle[i] | ... | ReservedCycles[i] - 1 | ReservedCycles[i] | ...
| xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
```
Reviewed By: andreadb
Differential Revision: https://reviews.llvm.org/D150311
More information about the All-commits
mailing list