[Mlir-commits] [mlir] a27a012 - [MLIR][EmitC] Fix typo in op description (#101153)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jul 30 03:55:24 PDT 2024


Author: Simon Camphausen
Date: 2024-07-30T12:55:20+02:00
New Revision: a27a01212ab68d6d5aee882906674def21c5ab0b

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

LOG: [MLIR][EmitC] Fix typo in op description (#101153)

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/EmitC/IR/EmitC.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
index 626b0576efd9c..b8f9615fc090d 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
@@ -989,7 +989,7 @@ def EmitC_UnaryMinusOp : EmitC_UnaryOp<"unary_minus", [CExpression]> {
     Example:
 
     ```mlir
-    %0 = emitc.unary_plus %arg0 : (i32) -> i32
+    %0 = emitc.unary_minus %arg0 : (i32) -> i32
     ```
     ```c++
     // Code emitted for the operation above.


        


More information about the Mlir-commits mailing list