diff options
author | Cullen Rhodes <cullen.rhodes@arm.com> | 2025-05-06 11:12:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 11:12:23 +0100 |
commit | 8ea5eacea263ed5c2c4b0950a4d1d6ef863444bc (patch) | |
tree | a692fe512470a5f04dbd5f641c8f7809f9ba2fbb /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4cc152c823ec0298b3962b5a09de6f74f5c1b16a (diff) | |
download | llvm-8ea5eacea263ed5c2c4b0950a4d1d6ef863444bc.zip llvm-8ea5eacea263ed5c2c4b0950a4d1d6ef863444bc.tar.gz llvm-8ea5eacea263ed5c2c4b0950a4d1d6ef863444bc.tar.bz2 |
[MISched] Fix off-by-one error in debug output with -misched-cutoff=<n> flag (#137988)
This flag instructs the scheduler to stop scheduling after N
instructions, but
in the debug output it appears as if it's scheduling N+1 instructions,
e.g.
$ llc -misched-cutoff=10 -debug-only=machine-scheduler
example.ll 2>&1 | grep "^Scheduling SU" | wc -l
11
as it calls pickNode before calling checkSchedLimit.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions