[Mlir-commits] [mlir] 33deb28 - [MLIR][Linalg] Improve documentation in `LinalgInterfaces.td` (NFC)

Lorenzo Chelini llvmlistbot at llvm.org
Mon Sep 11 10:47:19 PDT 2023


Author: Lorenzo Chelini
Date: 2023-09-11T19:46:20+02:00
New Revision: 33deb28006025e2a510b2625107490baeb4ff721

URL: https://github.com/llvm/llvm-project/commit/33deb28006025e2a510b2625107490baeb4ff721
DIFF: https://github.com/llvm/llvm-project/commit/33deb28006025e2a510b2625107490baeb4ff721.diff

LOG: [MLIR][Linalg] Improve documentation in `LinalgInterfaces.td` (NFC)

ShapeType::kDynamic -> ShapedType::kDynamic

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
index c45ec11a46cb7c..78431b9f66f901 100644
--- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
+++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
@@ -713,7 +713,7 @@ def LinalgStructuredInterface : OpInterface<"LinalgOp"> {
       /*desc=*/[{
         Like `getShape`, but only returns statically-known information, without
         generating any new IR. For each shape dimension, returns >=0 if that
-        dimension is statically known, or ShapeType::kDynamic otherwise.
+        dimension is statically known, or ShapedType::kDynamic otherwise.
       }],
       /*retTy=*/"SmallVector<int64_t>",
       /*methodName=*/"getStaticShape",
@@ -730,7 +730,7 @@ def LinalgStructuredInterface : OpInterface<"LinalgOp"> {
       /*desc=*/[{
         Returns the statically-known loop ranges. Composes
         `getShapesToLoopsMap()` with the result of `getStaticShape`.
-        Returns ShapeType::kDynamic for non-statically-known loop ranges.
+        Returns ShapedType::kDynamic for non-statically-known loop ranges.
         This is expected to be called by a valid Linalg op
       }],
       /*retTy=*/"SmallVector<int64_t, 4>",


        


More information about the Mlir-commits mailing list