aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2025-08-08 10:21:29 -0700
committerGitHub <noreply@github.com>2025-08-08 10:21:29 -0700
commit3b884db6ef458148ddc71e8133b334f8e1794ff9 (patch)
tree42d521b0a074dd659aba670dee445868ffd31026 /clang/lib/AST/ByteCode/Compiler.cpp
parent688551f05cf5f6c90e0f5edc890ee13bb563fa95 (diff)
downloadllvm-3b884db6ef458148ddc71e8133b334f8e1794ff9.zip
llvm-3b884db6ef458148ddc71e8133b334f8e1794ff9.tar.gz
llvm-3b884db6ef458148ddc71e8133b334f8e1794ff9.tar.bz2
[InstrProf] Fix trace reservoir sampling (#152563)
`InstrProfWriter::addTemporalProfileTraces()` did not correctly account for when the sources traces are sampled, but the reservoir size is larger than what it was before, meaning there is room for more traces. Also, if the reservoir size decreased, meaning traces should be truncated. Depends on https://github.com/llvm/llvm-project/pull/152550 for the test refactor
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions