[PATCH] D154576: [RISCV] RISCV vector calling convention (1/2)

Lehua Ding via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 9 18:24:58 PDT 2023


lhtin added a comment.

In D154576#4476300 <https://reviews.llvm.org/D154576#4476300>, @4vtomat wrote:

> In D154576#4476291 <https://reviews.llvm.org/D154576#4476291>, @craig.topper wrote:
>
>> Does this only change the calling convention when `__attribute__((riscv_vector_cc))` is used? The attribute should be mentioned in the patch description.
>
> Yes it only changes when `__attribute__((riscv_vector_cc))` is used, thanks for reminding, I will mention in the description.

In addition to using attributes, functions that use vector registers to pass arguments or return values also need to comply with the new calling convention.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154576



More information about the cfe-commits mailing list