[LLVMdev] problem trying to write an LLVM register-allocation pass

Joerg Sonnenberger joerg at britannica.bec.de
Sun Dec 2 05:45:17 PST 2012

On Sat, Dec 01, 2012 at 11:31:06AM -0600, Susan Horwitz wrote:
> I am not allocating RBP in function bar, I am allocating EBP,
> because it is NOT in the list of reserved registers for function
> bar.

rbp is callee-saved. If you want to use it or part of it in bar, you are
responsible for saving and restoring it.


More information about the llvm-dev mailing list