[PATCH] D74349: [PowerPC][AIX] Spill and restore the non-volatile condition register bits.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 08:05:19 PST 2020


sfertile updated this revision to Diff 245401.
sfertile marked 2 inline comments as done.
sfertile added a comment.

- Added a lambda for building the instruction which moves the condition register into a scratch register to avoid dupication.
- Added an IR --> assembly test that verifies we restore all 3 non-volatile cr-fields.
- Removed a couple stale comments, and reworded another comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74349/new/

https://reviews.llvm.org/D74349

Files:
  llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
  llvm/lib/Target/PowerPC/PPCFrameLowering.h
  llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
  llvm/test/CodeGen/PowerPC/aix-crspill.ll
  llvm/test/CodeGen/PowerPC/aix32-crsave.mir
  llvm/test/CodeGen/PowerPC/alloca-crspill.ll
  llvm/test/CodeGen/PowerPC/ppc64-alloca-crspill.ll
  llvm/test/CodeGen/PowerPC/ppc64-crsave.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74349.245401.patch
Type: text/x-patch
Size: 32790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200219/9a359e47/attachment.bin>


More information about the llvm-commits mailing list