diff options
author | wlei <wlei@fb.com> | 2023-08-25 14:09:58 -0700 |
---|---|---|
committer | wlei <wlei@fb.com> | 2023-08-30 18:00:23 -0700 |
commit | 62a3f6c96eb3051fda0a84e2419fc80244c9aca2 (patch) | |
tree | eca5b500f89687be38e795e2778129489456782b /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 062af2e76366ec1e4f3201f95c1a961a1861ba58 (diff) | |
download | llvm-62a3f6c96eb3051fda0a84e2419fc80244c9aca2.zip llvm-62a3f6c96eb3051fda0a84e2419fc80244c9aca2.tar.gz llvm-62a3f6c96eb3051fda0a84e2419fc80244c9aca2.tar.bz2 |
[CSSPGO] Retire FlattenProfileForMatching
- Always use flattened profile to find the profile anchors. Since profile under different contexts may have different inlined callsites, to get more profile anchors, we use a merged profile from all the contexts(the flattened profile) to find callsite anchors.
- Compute the staleness metrics based on the original nested profile, as currently once a callsite is mismatched, all its children profile are dropped.(TODO: in future, we can improve to reuse the children valid profile)
Reviewed By: hoy, wenlei
Differential Revision: https://reviews.llvm.org/D158891
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions