Skip to content

Commit 96d06d5

Browse files
committed
fixup! [RISCV] Change vector tuple type's TypeSize to scalable
1 parent dc943a8 commit 96d06d5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/CodeGenTypes/LowLevelType.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ LLT::LLT(MVT VT) {
2222
init(/*IsPointer=*/false, asVector, /*IsScalar=*/!asVector,
2323
VT.getVectorElementCount(), VT.getVectorElementType().getSizeInBits(),
2424
/*AddressSpace=*/0);
25-
} else if (VT.isRISCVVectorTuple()) {
26-
// TODO: Correctly model RISC-V vector tuple type
27-
init(/*IsPointer=*/false, /*IsVector=*/false, /*IsScalar=*/true,
28-
ElementCount::getFixed(0), VT.getSizeInBits().getKnownMinValue(),
29-
/*AddressSpace=*/0);
3025
} else if (VT.isValid() && !VT.isScalableTargetExtVT()) {
3126
// Aggregates are no different from real scalars as far as GlobalISel is
3227
// concerned.

0 commit comments

Comments
 (0)