[llvm-dev] [RFC] `opt-out` attribute list for intrinsics

Stefan Stipanovic via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 24 09:28:56 PDT 2020


Hi all,

A while back we started annotating intrinsics with new attributes (
https://reviews.llvm.org/D65377)

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

For now, there are 2 approaches:

   1. Filtering opt-out attributes in tablegen source (
   https://reviews.llvm.org/D70365)
   2. Having tablegen handle opt-out list (
   https://reviews.llvm.org/D70365?id=229732)

How do people feel about these approaches? Is any of the two better than
the other? Maybe I should consider something else?

Thanks,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200624/cefabff9/attachment.html>


More information about the llvm-dev mailing list