[llvm-commits] [Review] Attributes Documentation

James Molloy James.Molloy at arm.com
Thu Dec 6 00:55:42 PST 2012


Hi Bill,

On Thu, 2012-12-06 at 02:01 +0000, Bill Wendling wrote:
> In practice, there won't be a large number of differences between
> functions. The attributes come about in only a few ways:
>
>         - through command line options
>         - via '__attribute__' declarations

You forget compiler-added annotations such as
readonly/readnone/noreturn, which can serve as analysis markers. These
can get added during optimization passes, so your IR attribute groups
are going to change during optimization passes (eww).

Cheers,

James

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.




More information about the llvm-commits mailing list