[llvm-branch-commits] [llvm] [MC][NFC] Reduce Address2ProbesMap size (PR #102904)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Aug 20 12:17:49 PDT 2024


aaupov wrote:

> > For RSS, it's probably because in llvm-profgen, we decoded the pseudo-probe only for profiled function(https://reviews.llvm.org/D121643), so the baseline memory is decreased.
> 
> 
> 
> @aaupov actually do we need to decode profile for functions without profile? that is no profile to be matched in this case, and there is no optimization/reorder to be done either, hence no need to rewrite probes? 

Good point, I think we can selectively parse function records in perf2bolt - we don't need unused function records for profile matching. For partial rewrite though that would be quite a bit of work. 

https://github.com/llvm/llvm-project/pull/102904


More information about the llvm-branch-commits mailing list