This is the mail archive of the
mailing list for the GCC project.
Re: Link-time optimzation
- From: Chris Lattner <clattner at apple dot com>
- To: dberlin at dberlin dot org
- Cc: giovannibajo at libero dot it, mark at codesourcery dot com, GCC Development <gcc at gcc dot gnu dot org>
- Date: Wed, 16 Nov 2005 16:51:40 -0800
- Subject: Re: Link-time optimzation
Daniel Berlin Wrote:
> > It [LLVM] is proven to be stable, high-level enough to
> > perform any kind of needed optimization,
> This is not true, unfortunately. That's why it is called "low
level virtual machine".
> It doesn't have things we'd like to do high level optimizations
> dynamic_cast removal, etc.
For the record, this isn't really true at all. LLVM does already
capture some high-level program properties, and is constantly being
extended over time. I will note that it would be far easier to
extend LLVM with the functionality you desire than to reinvent a
whole new way of doing things.
That said, wanting to stay as close as possible to gimple is a
reasonable design point, and LLVM certainly isn't that.