summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Dialect/VectorOps
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Dialect/VectorOps')
-rw-r--r--mlir/lib/Dialect/VectorOps/VectorTransforms.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/mlir/lib/Dialect/VectorOps/VectorTransforms.cpp b/mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
index c4d3e9d993d..64cacb28720 100644
--- a/mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
+++ b/mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
@@ -513,11 +513,11 @@ Value *mlir::vector::unrollSingleResultOpMatchingType(
// Generates slices of 'vectorType' according to 'sizes' and 'strides, and
// calls 'fn' with linear index and indices for each slice.
-static void generateTransferOpSlices(
- VectorType vectorType, TupleType tupleType, ArrayRef<int64_t> sizes,
- ArrayRef<int64_t> strides, ArrayRef<Value *> indices,
- PatternRewriter &rewriter,
- llvm::function_ref<void(unsigned, ArrayRef<Value *>)> fn) {
+static void
+generateTransferOpSlices(VectorType vectorType, TupleType tupleType,
+ ArrayRef<int64_t> sizes, ArrayRef<int64_t> strides,
+ ArrayRef<Value *> indices, PatternRewriter &rewriter,
+ function_ref<void(unsigned, ArrayRef<Value *>)> fn) {
// Compute strides w.r.t. to slice counts in each dimension.
auto maybeDimSliceCounts = shapeRatio(vectorType.getShape(), sizes);
assert(maybeDimSliceCounts.hasValue());
OpenPOWER on IntegriCloud