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

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 22:13:53 PDT 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
----------------
wangpc-pp wrote:

Should we include this change? We don't have LLT support of tuples before, whether it is scalable or not.

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


More information about the llvm-commits mailing list