aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2025-01-24 15:58:13 -0800
committerGitHub <noreply@github.com>2025-01-24 15:58:13 -0800
commitc725a95e088dea14953c2d891d04429bc50b912e (patch)
tree4810ed935ab566edf0483f81ceeb04369b0f6806 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
parent48657bf29b01e95749b5ecd8c7f675c14a7948d1 (diff)
downloadllvm-c725a95e088dea14953c2d891d04429bc50b912e.zip
llvm-c725a95e088dea14953c2d891d04429bc50b912e.tar.gz
llvm-c725a95e088dea14953c2d891d04429bc50b912e.tar.bz2
[MemProf] Convert Hot contexts to NotCold early (#124219)
While we convert hot contexts to notcold contexts during the cloning step, their existence was greatly limiting the context trimming performed when we add the MemProf profile to the IR. To address this, any hot contexts are converted to notcold contexts immediately after first checking for unambiguous allocation types, and before checking it again and before adding metadata while performing context trimming. Note that hot hints are now disabled by default, however, this avoids adding unnecessary overhead if they are re-enabled.
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions