[LLVMdev] calling conventions

reed kotler rkotler at mips.com
Wed Apr 17 11:42:40 PDT 2013


I have some needs in the Mips compiler to have some special calling 
conventions; for now just
used internally by the compiler.

In the ir there is the general "cc <n>".

Is there a way to register a calling convention with target independent 
code so that if those attribute is attached to the function ir , that 
the corresponding calling convention will be
used when generating calls to that function?

Tia.

Reed




More information about the llvm-dev mailing list