[PATCH] Devirtualize MCFragment

Pete Cooper peter_cooper at apple.com
Wed Jun 17 15:05:52 PDT 2015


Great.  Thanks!

r239952.

Pete
> On Jun 17, 2015, at 2:38 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> 
> LGTM as this is also cleaner than having the virtual/classof mix.
> 
> On 16 June 2015 at 20:32, Pete Cooper <peter_cooper at apple.com> wrote:
>> Hey Rafael
>> 
>> This patch packs and devirtualizes MCFragment so that the layout is better organised in memory.
>> 
>> I measured it on the verify use list order test going through llc and it saved about 2MB of memory out of 800MB.  Not a huge amount, but in an LTO build I still expect it to be useful.
>> 
>> Comments welcome.
>> 
>> Cheers,
>> Pete
>> 





More information about the llvm-commits mailing list