[PATCH] D62686: [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
Wed Sep 18 03:26:27 PDT 2019


lewis-revill added a comment.

In D62686#1672346 <https://reviews.llvm.org/D62686#1672346>, @lenary wrote:

> In D62686#1671123 <https://reviews.llvm.org/D62686#1671123>, @lewis-revill wrote:
>
> > There is an option to Clang for '-msave-restore' which should be utilized to enable this.
>
>
> I don't think we'd have a problem if clang support for this came in a separate commit.


There needs to be an LLVM component too, to add a target feature such that we can do `Features.push_back("+save-restore")` from Clang.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62686





More information about the llvm-commits mailing list