[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
Mon Sep 12 11:20:59 PDT 2016


kparzysz created this revision.
kparzysz added a reviewer: hfinkel.
kparzysz added a subscriber: llvm-commits.
kparzysz set the repository for this revision to rL LLVM.
Herald added a subscriber: nemanjai.

Follow-up to r280705 (D24093): Make sure that the SP is only restored after all data is loaded from the stack frame, if there is no red zone. The previous patch did not address this.

This completes the fix for https://llvm.org/bugs/show_bug.cgi?id=26519.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24466.71036.patch
Type: text/x-patch
Size: 9847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160912/3303be5e/attachment.bin>


More information about the llvm-commits mailing list