On Tue, Jun 3, 2008 at 22:26, Chris Lattner <clattner@apple.com> wrote:
and whopr here. Is LTO the mode "normal people" will use, and whopr is the
mode where "people with huge clusters" will use? Will LTO/whopr support
useful optimization on common multicore machines?
As Ollie said, WHOPR is just an extension on the LTO framework to
cater for scalability when building large applications. As such, when
building large applications we expect not to be able to apply IPA
passes that rely on having the whole program callgraph and bodies
loaded in memory.
However, WHOPR does not limit IPA passes to summary-only. That's why
you see the distinction between IPA_PASS and SIMPLE_IPA_PASS in the
pass manager.
Are you focusing on inlining here as a specific example, or is this the only
planned IPA optimization that can use summaries? It seems unfortunate to
No. Just the first pass that we are going to concentrate for the
initial implementation.