aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorwlei <wlei@fb.com>2023-08-25 14:09:58 -0700
committerwlei <wlei@fb.com>2023-08-30 18:00:23 -0700
commit62a3f6c96eb3051fda0a84e2419fc80244c9aca2 (patch)
treeeca5b500f89687be38e795e2778129489456782b /flang/lib/Frontend/CompilerInvocation.cpp
parent062af2e76366ec1e4f3201f95c1a961a1861ba58 (diff)
downloadllvm-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