<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Aug 8, 2015 at 8:03 AM, Stephen Cross <span dir="ltr"><<a href="mailto:scross@scross.co.uk" target="_blank">scross@scross.co.uk</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I may not have followed the discussion completely, but would it be<br>
possible to simply strip the 'readonly' attributes when dead arguments<br>
are eliminated?</blockquote><div><br></div><div>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. </div></div></div></div>