aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/ByteCode/builtin-functions.cpp
diff options
context:
space:
mode:
authorMin-Yih Hsu <min.hsu@sifive.com>2025-03-24 10:24:08 -0700
committerGitHub <noreply@github.com>2025-03-24 10:24:08 -0700
commit77648476f28c4ee50eb2ffca952453a210386d7d (patch)
tree2f38d313087336d66c1790c4587fc663b8b53d81 /clang/test/AST/ByteCode/builtin-functions.cpp
parentaa80388cf9d2444c82e7a1a8c73ddf14930be318 (diff)
downloadllvm-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