aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2025-04-07 19:52:03 -0700
committerGitHub <noreply@github.com>2025-04-07 19:52:03 -0700
commit6a3e5f89bb89548fb39ca241c8ed7c2005a190f1 (patch)
treecd93d91a48b93dd6ca6e62600bf18280f9bb4189 /clang/lib/CodeGen/CodeGenModule.cpp
parent5aae0ee660ffdae057d7c5c0e851b5620586d042 (diff)
downloadllvm-6a3e5f89bb89548fb39ca241c8ed7c2005a190f1.zip
llvm-6a3e5f89bb89548fb39ca241c8ed7c2005a190f1.tar.gz
llvm-6a3e5f89bb89548fb39ca241c8ed7c2005a190f1.tar.bz2
[ctxprof] Only prune the profile in modules containing only context trees (#134340)
We will subsequently treat the whole profile as "flat" in the frontend, (i.e flatten and combine with the flat profile section), so we can have a profile for ThinLTO for parts of the application that don't come under the contextual profile. After ThinLTO, we will treat the module(s) containing contextual trees differently: they'll have only the contextual profile pertinent to them. The rest of the modules (non-contextual) will proceed "as usual", off the flattened profile. This patch implements pruning of the contextual profile to enable the above.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions