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

Brandon Wu via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 18:30:33 PST 2024


================
@@ -22,6 +22,11 @@ LLT::LLT(MVT VT) {
     init(/*IsPointer=*/false, asVector, /*IsScalar=*/!asVector,
          VT.getVectorElementCount(), VT.getVectorElementType().getSizeInBits(),
          /*AddressSpace=*/0);
+  } else if (VT.isRISCVVectorTuple()) {
+    // TODO: Correctly model RISC-V vector tuple type
----------------
4vtomat wrote:

I think after adding tuple type to `isScalableTargetExtVT`, we no longer need this lol

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


More information about the llvm-commits mailing list