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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 17:56:24 PDT 2024


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

Is this only called when PartVT and ValueVT are the same type? That shouldn't require any node to be created.

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


More information about the llvm-commits mailing list