Files
clang-p2996/llvm/lib/CodeGen/MachineScheduler.cpp
Cullen Rhodes ddfdecbd00 [MISched] Add statistics to quantify scheduling (#138090)
When diagnosing scheduler issues it can be useful to know how scheduling
changes the order of instructions, particularly for large functions when
it's not trivial to figure out from the debug output by looking at the
scheduling unit (SU) IDs.

This adds pre-RA and post-RA statistics to track 1) the number of
instructions that remain in source order after scheduling and 2) the
total number of instructions scheduled, to compare 1) against.
2025-05-07 07:47:16 +01:00

177 KiB