[Mlir-commits] [mlir] 3c36674 - [mlir] [standard] fixed typo in comment

Aart Bik llvmlistbot at llvm.org
Fri Oct 9 17:04:36 PDT 2020


Author: Aart Bik
Date: 2020-10-09T17:04:21-07:00
New Revision: 3c366740ca24bab0494a7f7319acfc8f851d21a9

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

LOG: [mlir] [standard] fixed typo in comment

There is an atomic_rmw and a generic_atomic_rmw operation.
The doc of the latter incorrectly referred to former though.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D89172

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/StandardOps/IR/Ops.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
index ab7b599dffba..b172ddd34933 100644
--- a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
+++ b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
@@ -619,7 +619,7 @@ def GenericAtomicRMWOp : Std_Op<"generic_atomic_rmw", [
     ]> {
   let summary = "atomic read-modify-write operation with a region";
   let description = [{
-    The `atomic_rmw` operation provides a way to perform a read-modify-write
+    The `generic_atomic_rmw` operation provides a way to perform a read-modify-write
     sequence that is free from data races. The memref operand represents the
     buffer that the read and write will be performed against, as accessed by
     the specified indices. The arity of the indices is the rank of the memref.


        


More information about the Mlir-commits mailing list