[PATCH] D129106: [RISCV] Add support for static chain

Funan Zeng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 23:22:04 PDT 2022


melonedo added a comment.

In D129106#3630316 <https://reviews.llvm.org/D129106#3630316>, @jrtc27 wrote:

> This doesn’t work with dynamic linking (unless you use the recently-added STO_RISCV_VARIANT_CC) as t2 can be clobbered by the resolver.

Sorry for the delay, I opened an issue <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106338> in GCC and they feel OK with a scratch register.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129106



More information about the llvm-commits mailing list