[LLVMdev] [RFC] Overhauling Attributes
Bill Wendling
wendling at apple.com
Sat Dec 29 18:21:31 PST 2012
Hi Rafael,
Sorry, I forgot to respond to this. They can be arbitrary strings that are known only to the specific back-end. It may be beneficial to define them inside of the LangRef document though.
-bw
On Oct 4, 2012, at 7:47 PM, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
>> attrgroup #1 = { "long-calls", "cpu=cortex-a8", "thumb" }
>>
>> define void @func() noinline ssp attrgroup(#1) {
>> ret void
>> }
>>
>
> I like the general idea. Just one clarification: In the above example,
> are the attributes taken from a list specified in the language ref
> (like current attributes) or can they be arbitrary "strings" (like
> metadata)?
>
> Cheers,
> Rafael
More information about the llvm-dev
mailing list