[PATCH] D68996: [AArch64][SVE] Spilling/filling of SVE callee-saves.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 05:47:11 PDT 2019


sdesmalen updated this revision to Diff 227272.
sdesmalen added a comment.

- Removed changes to `convertCalleeSaveRestoreToSPPrePostIncDec` as they were wrong and are no longer necessary.
- Fixed a possible issue in `IsSVECalleeSave`, by now checking for FrameSetup/FrameDestroy flags, instead of relying the address is a frame-index.
- Added a comment to `setSVECalleeSavedStackSize`.
- Added test that spills/fills ZPR callee-saved regs in isolation.
- Added test that spills/fills PPR callee-saved regs in isolation.
- Extended test `save_restore_sve` with some GPR callee-saved spills/fills to test that pairing of GPR regs still works in combination with SVE callee saves.


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

https://reviews.llvm.org/D68996

Files:
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLToken.h
  lib/IR/AsmWriter.cpp
  lib/Target/AArch64/AArch64CallingConvention.td
  lib/Target/AArch64/AArch64FrameLowering.cpp
  lib/Target/AArch64/AArch64FrameLowering.h
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64MachineFunctionInfo.h
  lib/Target/AArch64/AArch64RegisterInfo.cpp
  test/CodeGen/AArch64/framelayout-sve.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68996.227272.patch
Type: text/x-patch
Size: 32588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191031/c4d7ce53/attachment-0001.bin>


More information about the llvm-commits mailing list