File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -983,9 +983,7 @@ InstructionCost RISCVTTIImpl::getInterleavedMemoryOpCost(
983
983
// with an adjacent appropriate memory to vlseg/vsseg intrinsics. vlseg/vsseg
984
984
// only support masking per-iteration (i.e. condition), not per-segment (i.e.
985
985
// gap).
986
- // TODO: Support masked interleaved access for fixed length vector.
987
- if ((isa<ScalableVectorType>(VecTy) || !UseMaskForCond) && !UseMaskForGaps &&
988
- Factor <= TLI->getMaxSupportedInterleaveFactor ()) {
986
+ if (!UseMaskForGaps && Factor <= TLI->getMaxSupportedInterleaveFactor ()) {
989
987
auto *VTy = cast<VectorType>(VecTy);
990
988
std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost (VTy);
991
989
// Need to make sure type has't been scalarized
You can’t perform that action at this time.
0 commit comments