[PATCH] D152135: [2/6][Clang][RISCV] Replace unit-stride segment store with tuple type interfaces

Yueh-Ting (eop) Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 14 23:53:31 PDT 2023


eopXD added a comment.

In D152135#4423640 <https://reviews.llvm.org/D152135#4423640>, @rogfer01 wrote:

> Just to confirm, though: seeing those `COERCE`, I assume the underlying calling convention (which unfortunately it not 100% transparent to `clang` at this point) is the same as passing in order the components of the tuple, right?
>
> (Apologies if this was already discussed elsewhere)

Yes. The calling convention lowers them in corresponding order.
https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/CGCall.cpp#L3139


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152135



More information about the cfe-commits mailing list