[Mlir-commits] [mlir] 06104cb - [NFC] Fix comment for DataOp

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Sep 25 11:27:52 PDT 2020


Author: clementval
Date: 2020-09-25T14:27:43-04:00
New Revision: 06104cb9f21d3f4b0f0feba7b35744284203164c

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

LOG: [NFC] Fix comment for DataOp

Added: 
    

Modified: 
    mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp b/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
index 7ca4d7fe1616..85524680018f 100644
--- a/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
+++ b/mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
@@ -449,19 +449,19 @@ static void print(OpAsmPrinter &printer, ParallelOp &op) {
 //===----------------------------------------------------------------------===//
 
 /// Parse acc.data operation
-/// operation := `acc.parallel` (`present` `(` value-list `)`)?
-///                             (`copy` `(` value-list `)`)?
-///                             (`copyin` `(` value-list `)`)?
-///                             (`copyin_readonly` `(` value-list `)`)?
-///                             (`copyout` `(` value-list `)`)?
-///                             (`copyout_zero` `(` value-list `)`)?
-///                             (`create` `(` value-list `)`)?
-///                             (`create_zero` `(` value-list `)`)?
-///                             (`no_create` `(` value-list `)`)?
-///                             (`delete` `(` value-list `)`)?
-///                             (`attach` `(` value-list `)`)?
-///                             (`detach` `(` value-list `)`)?
-///                             region attr-dict?
+/// operation := `acc.data` (`present` `(` value-list `)`)?
+///                         (`copy` `(` value-list `)`)?
+///                         (`copyin` `(` value-list `)`)?
+///                         (`copyin_readonly` `(` value-list `)`)?
+///                         (`copyout` `(` value-list `)`)?
+///                         (`copyout_zero` `(` value-list `)`)?
+///                         (`create` `(` value-list `)`)?
+///                         (`create_zero` `(` value-list `)`)?
+///                         (`no_create` `(` value-list `)`)?
+///                         (`delete` `(` value-list `)`)?
+///                         (`attach` `(` value-list `)`)?
+///                         (`detach` `(` value-list `)`)?
+///                         region attr-dict?
 static ParseResult parseDataOp(OpAsmParser &parser, OperationState &result) {
   Builder &builder = parser.getBuilder();
   SmallVector<OpAsmParser::OperandType, 2> presentOperands, copyOperands,


        


More information about the Mlir-commits mailing list