[PATCH] D24466: [PPC] Set SP after loading data from stack frame, if no red zone is present

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 09:02:27 PDT 2016


kparzysz updated this revision to Diff 72066.
kparzysz added a comment.

The previous code was using R0 as a base pointer in the prologue.  Fixed that and added a testcase.

I have run a few tests on a PPC box using this updated patch, there were no problems.


Repository:
  rL LLVM

https://reviews.llvm.org/D24466

Files:
  lib/Target/PowerPC/PPCFrameLowering.cpp
  test/CodeGen/PowerPC/ppc32-pic-large.ll
  test/CodeGen/PowerPC/ppc32-pic.ll
  test/CodeGen/PowerPC/stack-no-redzone.ll
  test/CodeGen/PowerPC/stack-realign.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24466.72066.patch
Type: text/x-patch
Size: 22952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160921/6f77d14a/attachment.bin>


More information about the llvm-commits mailing list