[LLVMdev] Missed devirtualization opportunities
John McCall
rjmccall at apple.com
Wed Oct 13 16:42:09 PDT 2010
On Oct 13, 2010, at 4:55 AM, Mahadevan R wrote:
> Hi Kenneth,
>
> On Mon, Oct 11, 2010 at 9:42 PM, Kenneth Uildriks <kennethuil at gmail.com> wrote:
> [snip]
>> At this point I'm looking for suggestions and feedback. I think
>> implementing (1) and (2) would go a long way toward making several
>> other transformations safely more aggressive, but would involve
>> noticeable (unacceptable?) overhead. Does what I'm looking for
>> already exist? Have they already been considered and rejected due to
>> the overhead involved?
>
> Have you considered something like this [1]?
>
> [1] http://www.ebb.org/bkuhn/articles/cpp-opt.pdf
This requires full-program optimization and breaks the ABI, so no.
John.
More information about the llvm-dev
mailing list