[llvm] [RISCV] Change vector tuple type's TypeSize to scalable (PR #114329)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 11 13:36:17 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:
A tuple is not a scalar. Why is setting IsScalar correct?
https://github.com/llvm/llvm-project/pull/114329
More information about the llvm-commits
mailing list