[all-commits] [llvm/llvm-project] b39a9a: [SchedBoundary] Add dump method for resource usage.

Francesco Petrogalli via All-commits all-commits at lists.llvm.org
Fri Jan 13 01:39:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b39a9a94f420a25a239ae03097c255900cbd660e
      https://github.com/llvm/llvm-project/commit/b39a9a94f420a25a239ae03097c255900cbd660e
  Author: Francesco Petrogalli <francesco.petrogalli at apple.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineScheduler.h
    M llvm/lib/CodeGen/MachineScheduler.cpp
    A llvm/test/CodeGen/AArch64/dump-reserved-cycles.mir

  Log Message:
  -----------
  [SchedBoundary] Add dump method for resource usage.

As supporting information, I have added an example that describes how
the indexes of the vector of resources SchedBoundary::ReservedCycles
are tracked by the field SchedBoundary::ReservedCyclesIndex.

Reviewed By: jroelofs

Differential Revision: https://reviews.llvm.org/D141367




More information about the All-commits mailing list