[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 Jan 31 02:34:02 PST 2022


edward-jones added a comment.
Herald added subscribers: pcwang-thead, eopXD.

To summarize where I think this stands. We don't want to implement something in LLVM which is undocumented or not likely to be implemented for other tools, so I also opened a pull request to document this change (https://github.com/riscv-non-isa/riscv-toolchain-conventions/pull/10) in the hope that it could be later implemented for GCC. From the discussion on that pull request there's an understandable reluctance to introduce a feature which would stop libgcc/compiler-rt from being drop in replacements for each other.

So I think to unstick this a patch to libgcc needs to be submitted.


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

https://reviews.llvm.org/D91719



More information about the llvm-commits mailing list