[PATCH] D36317: Adjust the hotness threshold from 99.9% to 99%.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 10:14:56 PDT 2017


davidxl added a comment.

Bottom up ininling can also create lots of cold inline instances.   Other than the effect of blocking hotter callers from being inlined,  current Machine Block Layout also has problems forming long hot traces leaving holes in code layout.

I wonder if another way to fix this is better: 1) compute 99.9% working set size 2) if it is too large compared with the working set threshold, drop the hot cutoff.


https://reviews.llvm.org/D36317





More information about the llvm-commits mailing list