[cfe-dev] [LLVMdev] Clang devirtualization proposal

Reid Kleckner rnk at google.com
Tue Aug 11 09:54:13 PDT 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150811/1f463192/attachment.html>


More information about the cfe-dev mailing list