[all-commits] [llvm/llvm-project] 37db9c: [llc][MISched] Add `-misched-detail-resource-booki...
Francesco Petrogalli via All-commits
all-commits at lists.llvm.org
Tue Jun 20 02:48:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 37db9cae2bc0d26d8f3f19750739ca0a636f3a29
https://github.com/llvm/llvm-project/commit/37db9cae2bc0d26d8f3f19750739ca0a636f3a29
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