Skip to content

Commit 71e53e7

Browse files
committed
Fix documentation
1 parent 5103187 commit 71e53e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mlir/include/mlir/Interfaces/VectorInterfaces.td

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ def VectorUnrollOpInterface : OpInterface<"VectorUnrollOpInterface"> {
2424
let methods = [
2525
InterfaceMethod<
2626
/*desc=*/[{
27-
Return the shape ratio of unrolling to the target vector shape
28-
`targetShape`. Return `std::nullopt` if the op cannot be unrolled to the
29-
target vector shape.
27+
Return the shape of the vector of this operation, which may be used to decide unrolling factors.
28+
Return std::nullopt if the op is not applicable for unrolling.
3029
}],
3130
/*retTy=*/"::std::optional<::llvm::SmallVector<int64_t, 4>>",
3231
/*methodName=*/"getShapeForUnroll",

0 commit comments

Comments
 (0)