[PATCH] D33017: [PPC] Properly update register save area offsets

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 15:12:57 PDT 2017


kparzysz created this revision.
Herald added subscribers: krytarowski, nemanjai.

The variables MinGPR/MinG8R were not updated properly when resetting the offsets, which in the included testcase lead to saving the CR register in the same location as R30.


Repository:
  rL LLVM

https://reviews.llvm.org/D33017

Files:
  lib/Target/PowerPC/PPCFrameLowering.cpp
  test/CodeGen/PowerPC/save-cr-ppc32svr4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33017.98356.patch
Type: text/x-patch
Size: 3629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170509/63951ab1/attachment.bin>


More information about the llvm-commits mailing list