[llvm-dev] [RFC] `opt-out` attribute list for intrinsics
Stefan Stipanovic via llvm-dev
llvm-dev at lists.llvm.org
Mon Aug 17 09:21:20 PDT 2020
[Update]
I've created https://reviews.llvm.org/D86021 which makes nofree, nosync and
willreturn default attributes for intrinsics. I've also opted out of
default attributes for some target independent intrinsics.
Please feel free to comment on the review.
Thanks,
Stefan
On Wed, Jun 24, 2020 at 6:28 PM Stefan Stipanovic <stefomeister at gmail.com>
wrote:
> 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/20200817/a37087d8/attachment.html>
More information about the llvm-dev
mailing list