[Mlir-commits] [mlir] [mlir][Vector] Add utility for computing scalable value bounds (PR #83876)
Matthias Springer
llvmlistbot at llvm.org
Fri Mar 8 05:31:53 PST 2024
================
@@ -300,3 +301,132 @@ vector::createUnrollIterator(VectorType vType, int64_t targetRank) {
shapeToUnroll = shapeToUnroll.slice(0, firstScalableDim);
return StaticTileOffsetRange(shapeToUnroll, /*unrollStep=*/1);
}
+
+FailureOr<vector::ConstantOrScalableBound::BoundSize>
+vector::ConstantOrScalableBound::getSize() const {
----------------
matthias-springer wrote:
Why do you need all this pattern matching?
https://github.com/llvm/llvm-project/pull/83876
More information about the Mlir-commits
mailing list