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: unassignedb...@nondot.org Reporter: dylanmcka...@gmail.com CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs