[llvm-bugs] [Bug 31346] New: Investigate whether or not we need a frame pointer
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Dec 10 21:33:49 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31346
Bug ID: 31346
Summary: Investigate whether or not we need a frame pointer
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: AVR
Assignee: unassignedbugs at nondot.org
Reporter: dylanmckay34 at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
In the past, we removed the frame pointer (R29R28). The code made the
assumption that the register would always contain the frame pointer.
If you look at the AVR-GCC wiki, it will always set up a frame pointer
https://gcc.gnu.org/wiki/avr-gcc
> In order to access stack locations, avr-gcc will set up a 16-bit frame pointer in R29:R28 (Y) because the stack pointer (SP) cannot be used to access stack slots.
We may need to add this back in in order to be compatible with the AVR-GCC
calling convention.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161211/447b8ed7/attachment.html>
More information about the llvm-bugs
mailing list