[all-commits] [llvm/llvm-project] fc0626: [llc][MISched] Add `-misched-detail-resource-booki...
Francesco Petrogalli via All-commits
all-commits at lists.llvm.org
Tue Jun 20 02:14:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc06262c1c365777e71207b6a5de281cba927c96
https://github.com/llvm/llvm-project/commit/fc06262c1c365777e71207b6a5de281cba927c96
Author: Francesco Petrogalli <francesco.petrogalli at apple.com>
Date: 2023-06-20 (Tue, 20 Jun 2023)
Changed paths:
M llvm/lib/CodeGen/MachineScheduler.cpp
A llvm/test/CodeGen/AArch64/misched-detail-resource-booking-01.mir
A llvm/test/CodeGen/AArch64/misched-detail-resource-booking-02.mir
Log Message:
-----------
[llc][MISched] Add `-misched-detail-resource-booking` to llc.
The option `-misched-detail-resource-booking` prints the following
information every time the method
`SchedBoundary::getNextResourceCycle` is invoked:
1. counters of the resources that have already been booked;
2. the values returned by `getNextResourceCycle`, which is the next
available cycle in which a resource can be booked.
The method is useful to debug low-level checks inside the machine
scheduler that make decisions based on the values returned by
`getNextResourceCycle`.
Reviewed By: andreadb
Differential Revision: https://reviews.llvm.org/D153116
More information about the All-commits
mailing list