Issue |
123389
|
Summary |
[PowerPC] uses @llvm.stackrestore() to set the stack pointer
|
Labels |
new issue
|
Assignees |
|
Reporter |
tankf33der
|
hi,
I have a question or new bug.
I have LLVM-IR code which uses @llvm.stackrestore() to set the stack pointer.
On PowerPC the LLVM backend generates instructions like "mr 1, 3" (which is correct), but then also instructions like "std 4, 0(1)" which (incorrectly in my view) write into the stack space above the newly set stack pointer, causing a crash.
Is this a known problem? If so, is there a solution?
p.s. PicoLisp crashes on LLVM14-LLVM19 on ppc64le.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs