[PATCH] D107173: [CSSPGO] Introduce MD5-based context-sensitive profile
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 2 10:16:49 PDT 2021
wenlei added a comment.
Thanks for working on this.
Decomposing context strings into two levels is natural choice for deduplication. However, that means we would need to reconstruct strings in profile reader. So it's more like space vs speed thing. If compiler speed is the same, then storing decomposed strings in file and reconstruct them on profile loading might be a better choice as it's more compact and also more consistent with non-CS profile. Perhaps would be good to measure both.. Right now with md5 profile, plus some context trimming through cold threshold or pre-inliner tuning, we hope to bring e2e build time on par with AutoFDO for large workloads.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107173/new/
https://reviews.llvm.org/D107173
More information about the llvm-commits
mailing list