aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorShimin Cui <scui@ca.ibm.com>2024-02-22 12:04:08 -0500
committerGitHub <noreply@github.com>2024-02-22 12:04:08 -0500
commita51f4afc5aec8145091fead1d68c81e7d210fc0d (patch)
tree09c0d84876613610c4838bae6a67c0dcc6022569 /clang/lib/CodeGen/CodeGenModule.cpp
parentc9afd1ad783a67210bed4fd2f7108477fc986e15 (diff)
downloadllvm-a51f4afc5aec8145091fead1d68c81e7d210fc0d.zip
llvm-a51f4afc5aec8145091fead1d68c81e7d210fc0d.tar.gz
llvm-a51f4afc5aec8145091fead1d68c81e7d210fc0d.tar.bz2
[HCS] Externd to outline overlapping sub/super cold regions (#80732)
Currently, with hot cold splitting, when a cold region is identified, it is added to the region list of ColdBlocks. Then when another cold region (B) identified overlaps with a ColdBlocks region (A) already added to the list, the region B is not added to the list because of the overlapping with region A. The splitting analysis is performed, and the region A may not get split, for example, if it’s considered too expansive. This is to improve the handling the overlapping case when the region A is not considered good for splitting, while the region B is good for splitting.   The change is to move the cold region splitting analysis earlier to allow more cold region splitting. If an identified region cannot be split, it will not be added to the candidate list of ColdBlocks for overlapping check.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions