[PATCH] D102505: [RISCV] Support vector types in combination with fastcc

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 22 08:51:00 PDT 2021


HsiangKai added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:7160
+    if (unsigned Reg =
+            allocateRVVReg(ValVT, ValNo, FirstMaskArgument, State, TLI)) {
+      // Fixed-length vectors are located in the corresponding scalable-vector
----------------
Should we allow all the vector registers used to pass vector arguments under fastcc, instead of limiting to v8 to v23?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102505



More information about the llvm-commits mailing list