On Wed, Jun 4, 2008 at 9:14 AM, Chris Lattner <clattner@apple.com
<mailto:clattner@apple.com>> wrote:
1) start with all code in memory and see how far you can get. It
seems that on reasonable developer machines (e.g. 2GB memory) that
we can handle C programs on the order of a million lines of code,
or C++ code on the order of 400K lines of code without a problem
with LLVM.
This is essentially what the lto branch does today, and I don't see
any reason to disable this feature. In the language of the WHOPR
design, the lto branch supports LGEN + LTRANS, with WPA bypassed
completely. For implementing WPA, my intention is to add a new flag
(-fpartition or whatever else people think is suitable) to instruct
the lto1 front end to perform partitioning (aka repackaging) of .o
files, execute summary IPA analysese, and kick off a separate LTRANS
phase.