I might be wrong, but I think this is should be width of the known
min size we use for scalable vectors. It shouldn't scale with
minimum vlen.
Reviewed By: frasercrmck
Differential Revision: https://reviews.llvm.org/D107945
ST->hasStdExtV() ? ST->getMinRVVVectorSizeInBits() : 0);
case TargetTransformInfo::RGK_ScalableVector:
return TypeSize::getScalable(
- ST->hasStdExtV() ? ST->getMinRVVVectorSizeInBits() : 0);
+ ST->hasStdExtV() ? RISCV::RVVBitsPerBlock : 0);
}
llvm_unreachable("Unsupported register kind");