diff options
author | Hongtao Yu <hoy@fb.com> | 2021-05-13 11:06:44 -0700 |
---|---|---|
committer | Hongtao Yu <hoy@fb.com> | 2021-05-16 23:11:36 -0700 |
commit | f28ee1a2b386ad7fa7489cad55840e78849b4abf (patch) | |
tree | 47bc82c7c176903bb8a2e57e7d6823dcd0c1aab1 /clang/lib/Basic/Module.cpp | |
parent | 341902672c3e6068f95837652072b10b92685bfc (diff) | |
download | llvm-f28ee1a2b386ad7fa7489cad55840e78849b4abf.zip llvm-f28ee1a2b386ad7fa7489cad55840e78849b4abf.tar.gz llvm-f28ee1a2b386ad7fa7489cad55840e78849b4abf.tar.bz2 |
[CSSPGO] Update pseudo probe distribution factor based on inline context.
With prelink inlining, pseudo probes with same ID can come from different inline contexts. Such probes should not share samples and their factors should be fixed up separately.
I'm seeing 0.3% speedup for SPEC2017 overall. Benchmark 631.deepsjeng_s benefits the most, about 4%.
Reviewed By: wenlei, wmi
Differential Revision: https://reviews.llvm.org/D102429
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions