[llvm] [MemProf] Track and report profiled sizes through cloning (PR #98382)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 08:51:49 PDT 2024


teresajohnson wrote:

> If I understand correctly, the approach is to optionally track total size if requested. What is the overhead for this extra tracking? Can we consider making it unconditionally available all the time?

I haven't measured it, but am concerned about adding any additional memory or bitcode size overhead for something that is only used under an option. Would prefer to leave it optional and revisit this later if we find more uses for the information.

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


More information about the llvm-commits mailing list