[PATCH] D102466: [RISCV] Support RVP vectors in the calling convention
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 14 05:53:38 PDT 2021
jrtc27 added a comment.
Is this the right place to do it, or should it be done in Clang with bitcasts to/from integers?
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:6800
+ // Pass vectors with the same size as XLen by GPRs for RVP.
+ if (TLI.getSubtarget().hasStdExtP() && (XLen == ValVT.getSizeInBits())) {
+ LocVT = XLenVT;
----------------
Unnecessary parens
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