[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:26:48 PDT 2022


melonedo added a comment.

In D129106#3629936 <https://reviews.llvm.org/D129106#3629936>, @luismarques wrote:

> I guess this patch should update the other conventions as well? E.g. error out if nest is used with the GHC CC. There's also the FastCC.

I added an error check in GHC CC. If not mistaken, the FastCC is internal, so as long as the frontend emit consistent function attrubutes, it does not make a difference whether an argument is attributed 'nest' or not. Ignoring 'nest' in the FastCC should be fine.


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