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

Brandon Wu via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 17:03:08 PDT 2024


================
@@ -63,6 +63,7 @@ class VTVecTup<int size, int nf, ValueType dummy_elt, int value>
   let NF = nf;
   let ElementType = dummy_elt;
   let isRISCVVecTuple = true;
+  let isScalable = true;
----------------
4vtomat wrote:

Do you mean we should make tuple type a special case and handle it in switch in `getSizeInBits`?

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


More information about the llvm-commits mailing list