[PATCH] D91719: [RISCV] Add support for using -msave-restore with tailcalls

Edward Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 28 03:08:03 PDT 2021


edward-jones updated this revision to Diff 354822.
edward-jones added a comment.

I've rebased and added an option so that the tailcall version of save/restore is only used if `-mllvm -riscv-save-restore-tailcall` is provided.


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

https://reviews.llvm.org/D91719

Files:
  llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
  llvm/lib/Target/RISCV/RISCVFrameLowering.h
  llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
  llvm/lib/Target/RISCV/RISCVSubtarget.cpp
  llvm/lib/Target/RISCV/RISCVSubtarget.h
  llvm/test/CodeGen/RISCV/saverestore.ll
  llvm/test/CodeGen/RISCV/saverestore_tailcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91719.354822.patch
Type: text/x-patch
Size: 20764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210628/1d8c4f47/attachment.bin>


More information about the llvm-commits mailing list