[llvm-dev] IPRA, interprocedural register allocation, question

Lawrence, Peter via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 6 09:50:55 PDT 2016

          I have an application where many of the leaf functions are
Hand-coded assembly language,  because they use special IO instructions
That only the assembler knows about.  These functions typically don't
Use any registers besides the incoming argument registers, IE they don't
Need to use any additional callee-save nor caller-save registers.

Is there any way in your IPRA interprocedural register allocation project that
The user can supply this information for external functions ?
Perhaps using some form of __attribute__ ?
Maybe __attribute__ ((registermask = ....))  ?

--Peter Lawrence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160706/76de86b9/attachment.html>

More information about the llvm-dev mailing list