[MIScheduler] Print top/down cycle in the SUnit dump.
authorFrancesco Petrogalli <francesco.petrogalli@apple.com>
Tue, 17 Jan 2023 11:02:08 +0000 (12:02 +0100)
committerFrancesco Petrogalli <francesco.petrogalli@apple.com>
Tue, 17 Jan 2023 14:55:43 +0000 (15:55 +0100)
commit229162d4d7440da09507b5dfc6f72178effdcc6c
tree55543b0906c868c56cc36f46ccfc21b10a51e8d8
parent2cd2b6a7b54610df160c8850dee2589a5bb20734
[MIScheduler] Print top/down cycle in the SUnit dump.

Add an extra command line option to `llc` that allows checking at what cycle an instruction has been scheduled by the machine scheduler.

Differential Revision: https://reviews.llvm.org/D141289
llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
llvm/test/CodeGen/AArch64/sched-print-cycle.mir [new file with mode: 0644]