[llvm-dev] Why LR is saved before calling a 'noreturn' function ?

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Thu May 12 08:58:50 PDT 2016


On Thu, May 12, 2016 at 01:26:56PM +0000, HEITZMANN Frédéric 218168 via llvm-dev wrote:
> It seems that LR register is backed up on the stack whilst it will never be used to return from a 'noreturn' function.

To keep the stack aligned?

Joerg


More information about the llvm-dev mailing list