[PATCH] Devirtualize MCFragment

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jun 17 14:38:24 PDT 2015


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