[PATCH] D68011: [RISCV] Split SP adjustment to reduce the offset of callee saved register spill and restore

Shiva Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 19:24:45 PDT 2019


shiva0217 updated this revision to Diff 221882.
shiva0217 added a comment.

Update patch

1. Call getFirstSPAdjustAmount() once in per prologue/epilogue generation as @luismarques suggest
2. Generate CFI directives in large-stack.ll test case to check the CFI generation


Repository:
  rL LLVM

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

https://reviews.llvm.org/D68011

Files:
  lib/Target/RISCV/RISCVFrameLowering.cpp
  lib/Target/RISCV/RISCVFrameLowering.h
  test/CodeGen/RISCV/large-stack.ll
  test/CodeGen/RISCV/rv64-large-stack.ll
  test/CodeGen/RISCV/stack-realignment.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68011.221882.patch
Type: text/x-patch
Size: 23333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190926/3f707740/attachment-0001.bin>


More information about the llvm-commits mailing list