[AVR] Save/restore the frame pointer for all functions
authorDylan McKay <me@dylanmckay.io>
Tue, 2 May 2017 01:57:48 +0000 (01:57 +0000)
committerDylan McKay <me@dylanmckay.io>
Tue, 2 May 2017 01:57:48 +0000 (01:57 +0000)
commit28355efdada8c8a4f9829d388d413c4745168874
treed266ff6cdc92788aec3b34644a7047973dd77efe
parentb89c27f5150e104b8aed1b866456e2e4dc2296a3
[AVR] Save/restore the frame pointer for all functions

A recent commit I made made it so that we only did this for signal or
interrupt handlers. This broke normal functions.

llvm-svn: 301893
llvm/lib/Target/AVR/AVRFrameLowering.cpp
llvm/test/CodeGen/AVR/calling-conv/c/stack.ll
llvm/test/CodeGen/AVR/return.ll
llvm/test/CodeGen/AVR/varargs.ll