Skip to content

Commit f267341

Browse files
committed
Fix shape
1 parent 8c6f310 commit f267341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ struct UnrollBroadcastPattern : public OpRewritePattern<vector::BroadcastOp> {
827827
/// and a target unroll shape of <4>, the pattern produces:
828828
///
829829
/// %base = vector.step : vector<4xindex>
830-
/// %zero = arith.constant dense<0> : vector<4xindex>
830+
/// %zero = arith.constant dense<0> : vector<8xindex>
831831
/// %result0 = vector.insert_strided_slice %base, %zero
832832
/// {offsets = [0], strides = [1]} : vector<4xindex> into vector<8xindex>
833833
/// %offset = arith.constant dense<4> : vector<4xindex>

0 commit comments

Comments
 (0)