[llvm] [RISCV] Change vector tuple type's TypeSize to scalable (PR #114329)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 9 19:10:09 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
----------------
topperc wrote:
Setting IsScalar = true seems wrong thought it was the old behavior. What if we use the final else that sets all fields to `false` or `0`?
https://github.com/llvm/llvm-project/pull/114329
More information about the llvm-commits
mailing list