[Mlir-commits] [mlir] d0ee358 - Fix typo in IRDL docs (#140460)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon May 19 04:11:57 PDT 2025


Author: Noam Zaks
Date: 2025-05-19T12:11:52+01:00
New Revision: d0ee35851bb9fca4ee6c53dc1cc081d999a95e65

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

LOG: Fix typo in IRDL docs (#140460)

Rename "can has" -> to "has".
And replace a "can have" with a "has" to make it explicit that something is required.

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td b/mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td
index f3bc3497500e7..78b24ecd20773 100644
--- a/mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td
+++ b/mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td
@@ -597,7 +597,7 @@ def IRDL_AnyOfOp : IRDL_ConstraintOp<"any_of",
     ```
 
     The above program defines a type `complex` inside the dialect `cmath` that
-    can have a single type parameter that can be either `i32`, `i64`, `f32` or
+    has a single type parameter that can be either `i32`, `i64`, `f32` or
     `f64`.
   }];
 
@@ -634,7 +634,7 @@ def IRDL_AllOfOp : IRDL_ConstraintOp<"all_of",
     ```
 
     The above program defines a type `complex` inside the dialect `cmath` that
-    can has one parameter that must be 32-bit long and a float (in other
+    has one parameter that must be 32-bit long and a float (in other
     words, that must be `f32`).
   }];
 


        


More information about the Mlir-commits mailing list