[llvm-dev] [cfe-dev] [LLVMdev] Clang devirtualization proposal
Piotr Padlewski via llvm-dev
llvm-dev at lists.llvm.org
Fri Oct 2 15:50:38 PDT 2015
I am finishing my internship today and I want to make small report:
1. available_externally vtables are now generated for classes without
inline / hidden virtual functions
2. Assumption loads are generated for the same case as above (temporary
works only with -fstrict-vtable-pointers because of some performance lose
3. Using invariant.group metadata, vtable loads and vfunction loads are now
squashed to one load across one BB.
If someone would like to contact me, piotr.padlewski at gmail.com is my
personal email (I won't have access to prazek at google.com)
On Tue, Aug 11, 2015 at 9:54 AM, Reid Kleckner <rnk at google.com> wrote:
> On Sat, Aug 8, 2015 at 8:03 AM, Stephen Cross <scross at scross.co.uk> wrote:
>> I may not have followed the discussion completely, but would it be
>> possible to simply strip the 'readonly' attributes when dead arguments
>> are eliminated?
> I think this actually works. Think of it this way: the result of
> functionattrs is actually an analysis that we cache and maintain in the IR.
> DAE invalidates that analysis, so it must flush the cache or repopulate it.
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev