[llvm] [RISCV] Change vector tuple type's TypeSize to scalable (PR #114329)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 21:27:02 PST 2024


================
@@ -21309,6 +21310,25 @@ bool RISCVTargetLowering::splitValueIntoRegisterParts(
     return true;
   }
 
+  if (ValueVT.isRISCVVectorTuple() && PartVT.isRISCVVectorTuple()) {
+    unsigned ValNF = ValueVT.getRISCVVectorTupleNumFields();
----------------
wangpc-pp wrote:

Add `#ifndef NDEBUG`?

https://github.com/llvm/llvm-project/pull/114329


More information about the llvm-commits mailing list