[PATCH] D102466: [RISCV] Support RVP vectors in the calling convention

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 17 01:38:34 PDT 2021


frasercrmck added a comment.

In D102466#2759440 <https://reviews.llvm.org/D102466#2759440>, @jrtc27 wrote:

> Is this the right place to do it, or should it be done in Clang with bitcasts to/from integers?

Personally, I think it's okay to do this here as it's likely we'll have the vector types in IR when coming from ABIs like SPIR or SPIR-V. At least, that was the justification for the V vectors. I know what you mean, though. I don't know if the authors anticipate a similar use-case for the P extension.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102466



More information about the llvm-commits mailing list