diff options
author | Min-Yih Hsu <min.hsu@sifive.com> | 2025-03-24 10:24:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-24 10:24:08 -0700 |
commit | 77648476f28c4ee50eb2ffca952453a210386d7d (patch) | |
tree | 2f38d313087336d66c1790c4587fc663b8b53d81 /clang/test/AST/ByteCode/builtin-functions.cpp | |
parent | aa80388cf9d2444c82e7a1a8c73ddf14930be318 (diff) | |
download | llvm-77648476f28c4ee50eb2ffca952453a210386d7d.zip llvm-77648476f28c4ee50eb2ffca952453a210386d7d.tar.gz llvm-77648476f28c4ee50eb2ffca952453a210386d7d.tar.bz2 |
[MC] Account for AcquireAtCycle in getReciprocalThroughput (#132653)
Previously `MCSchedModel::getReciprocalThroughput` ignored
`AcquireAtCycle` completey, this patch fixes it by using the largest
`(ReleaseAtCycle - AcquireAtCycle) / NumUnits` as inverse throughput.
Here are some technical explanations:
https://myhsu.xyz/llvm-sched-interval-throughput
---------
Co-authored-by: Julien Villette <julien.villette@sipearl.com>
Diffstat (limited to 'clang/test/AST/ByteCode/builtin-functions.cpp')
0 files changed, 0 insertions, 0 deletions