[PATCH] D153116: [llc][MISched] Add `-misched-detail-resource-booking` to llc.
Francesco Petrogalli via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 16 02:54:49 PDT 2023
fpetrogalli created this revision.
fpetrogalli added a reviewer: andreadb.
Herald added subscribers: javed.absar, hiraditya, MatzeB.
Herald added a project: All.
fpetrogalli requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153116
Files:
llvm/lib/CodeGen/MachineScheduler.cpp
llvm/test/CodeGen/AArch64/misched-detail-resource-booking-01.mir
llvm/test/CodeGen/AArch64/misched-detail-resource-booking-02.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153116.532063.patch
Type: text/x-patch
Size: 100743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230616/421c8df2/attachment.bin>
More information about the llvm-commits
mailing list