[PATCH] D62686: [WIP][RISCV] Add support for save/restore of callee-saved registers via libcalls

Lewis Revill via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 07:11:30 PDT 2019


lewis-revill updated this revision to Diff 202932.
lewis-revill added a comment.

Added a basic check to avoid using save/restore libcalls if we know it will make the code size worse.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62686

Files:
  lib/Target/RISCV/CMakeLists.txt
  lib/Target/RISCV/RISCVFrameLowering.cpp
  lib/Target/RISCV/RISCVFrameLowering.h
  lib/Target/RISCV/RISCVMachineFunctionInfo.cpp
  lib/Target/RISCV/RISCVMachineFunctionInfo.h
  lib/Target/RISCV/RISCVRegisterInfo.cpp
  lib/Target/RISCV/RISCVRegisterInfo.h
  test/CodeGen/RISCV/saverestore.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62686.202932.patch
Type: text/x-patch
Size: 27493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190604/6caadc5b/attachment.bin>


More information about the llvm-commits mailing list