[LLVMdev] adding IR attributes to llvm
justin.holewinski at gmail.com
Fri Jan 11 04:51:56 PST 2013
Depends on whether its actually the calling convention, or just an
annotation (I don't know MIPS that well). Could you ever have a case where
you want to declare a function as both mips16 and fastcc, or some other
explicit calling convention?
For PTX, we added two calling conventions to mark kernel functions
(callable by host) from device functions (not callable by host). But this
designation is actually part of the function calling convention.
On Fri, Jan 11, 2013 at 12:20 AM, reed kotler <rkotler at mips.com> wrote:
> For target dependent function level attributes, do I need to actually add
> them to the enumeration in attributes.h?
> I have for example, mips16 and nomips16 as attributes.
> Or is this supposed to be done with cc <n>
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev