[PATCH] D86905: Flush bitcode incrementally for LTO output

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 9 13:46:16 PDT 2021


mehdi_amini added a comment.

In D86905#3053455 <https://reviews.llvm.org/D86905#3053455>, @stephan.yichao.zhao wrote:

> In D86905#3053392 <https://reviews.llvm.org/D86905#3053392>, @mehdi_amini wrote:
>
>> I didn't notice this was already committed, but numbers are still interesting to go with the change, can you post some here?
>
> I dont have a statistic result. 
> This change mainly helps large binaries. In my cases, a binary is ~8G, the other RAM used for LTO is ~40G. So this change reduces 17% memory overhead. 
> This 17% reduction is important to me because otherwise I have to find a machine with more than the normal RAM limit to build this binary.

Thanks, this is exactly the kind of "numbers" I was looking for actually.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86905/new/

https://reviews.llvm.org/D86905



More information about the llvm-commits mailing list