[all-commits] [llvm/llvm-project] ddfdec: [MISched] Add statistics to quantify scheduling (#...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Tue May 6 23:47:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddfdecbd00d2e9ac9b710c33ec9a7a1a6e4498ce
      https://github.com/llvm/llvm-project/commit/ddfdecbd00d2e9ac9b710c33ec9a7a1a6e4498ce
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineScheduler.h
    M llvm/lib/CodeGen/MachineScheduler.cpp

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list