[PATCH] D86905: Flush bitcode incrementally for LTO output

stephan.yichao.zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 9 13:09:14 PDT 2021


stephan.yichao.zhao added a comment.

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.
For small applications, this change does not help too much.


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