[LLVMdev] [RFC] Overhauling Attributes

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Oct 4 19:47:48 PDT 2012


> 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