Skip to content

Commit c62abf4

Browse files
committed
fixup! fixup! [mlir][vector] Restrict use of 0-D vectors in vector.insert/vector.extract
Apply clang-format
1 parent c15e7dd commit c62abf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ struct UnrollTransferReadConversion
13521352
// vector.insert does not accept rank-0 as the non-indexed
13531353
// argument. Extract the scalar before inserting.
13541354
valToInser = b.create<vector::ExtractOp>(loc, valToInser,
1355-
SmallVector<int64_t>());
1355+
SmallVector<int64_t>());
13561356
}
13571357
return b.create<vector::InsertOp>(loc, valToInser, vec,
13581358
insertionIndices);

0 commit comments

Comments
 (0)