<div dir="ltr">[Update]<div><br><div>I've created <a href="https://reviews.llvm.org/D86021">https://reviews.llvm.org/D86021</a> which makes nofree, nosync and willreturn default attributes for intrinsics. I've also opted out of default attributes for some target independent intrinsics. </div></div><div><br></div><div>Please feel free to comment on the review.</div><div><br></div><div>Thanks,</div><div>Stefan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 24, 2020 at 6:28 PM Stefan Stipanovic <<a href="mailto:stefomeister@gmail.com">stefomeister@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>A while back we started annotating intrinsics with new attributes (<a href="https://reviews.llvm.org/D65377" target="_blank">https://reviews.llvm.org/D65377</a>)</div><div><br></div><div>After some discussion it was decided it would be good to have an `opt-out` attribute list for intrinsics. Some attributes that can be added to the list could be: nosync, nofree, nounwind, willreturn<br></div><div><br></div><div>For now, there are 2 approaches:</div><div><ol><li>Filtering opt-out attributes in tablegen source (<a href="https://reviews.llvm.org/D70365" target="_blank">https://reviews.llvm.org/D70365</a>)</li><li>Having tablegen handle opt-out list (<a href="https://reviews.llvm.org/D70365?id=229732" target="_blank">https://reviews.llvm.org/D70365?id=229732</a>)</li></ol><div>How do people feel about these approaches? Is any of the two better than the other? Maybe I should consider something else?</div></div><div><br></div><div>Thanks,</div><div>Stefan</div></div>
</blockquote></div>