Skip to content

Commit cb30613

Browse files
committed
broadcastlike vs broadcast-like
1 parent 8c85bc7 commit cb30613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Vector/IR/VectorOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1719,7 +1719,7 @@ static bool isBroadcastLike(Operation *op) {
17191719

17201720
// Check that shape_cast **only** prepends 1s, like (2,3) -> (1,1,2,3).
17211721
// Checking that the destination shape has a prefix of 1s is not sufficient,
1722-
// for example (2,3) -> (1,3,2) is not broadcast-like. A sufficient condition
1722+
// for example (2,3) -> (1,3,2) is not broadcastlike. A sufficient condition
17231723
// is that the source shape is a suffix of the destination shape.
17241724
VectorType srcType = shapeCast.getSourceVectorType();
17251725
ArrayRef<int64_t> srcShape = srcType.getShape();

0 commit comments

Comments
 (0)