[LLVMdev] AttributeSet from Modules

Raul Fernandes Herbster raulherbster at gmail.com
Tue Sep 3 09:04:58 PDT 2013


clang defines some AttributeSet, for example:

attributes #0 = { nounwind uwtable "less-precise-fpmad"="false"
"no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"="true"
"no-infs-fp-math"="false" "no-nans-fp-math"="false"
"unsafe-fp-math"="false" "use-soft-float"="false" }

I would like to know if there is any way to reuse such pre-defined
attribute sets (for example, set the attribute list of my new function
using an existing attribute set).

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130903/55ab3dc6/attachment.html>

More information about the llvm-dev mailing list