[Mlir-commits] [mlir] 21a1dbb - [mlir][NFC] Fix format of comments for `foldHook` (#118453)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Dec 22 17:35:50 PST 2024


Author: Longsheng Mou
Date: 2024-12-23T09:35:46+08:00
New Revision: 21a1dbb50320889ee0e116237c924ee1af3c3dd3

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

LOG: [mlir][NFC] Fix format of comments for `foldHook` (#118453)

Added: 
    

Modified: 
    mlir/include/mlir/IR/OperationSupport.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/OperationSupport.h b/mlir/include/mlir/IR/OperationSupport.h
index 9f2de582b03e56..ef5b8b178fbc79 100644
--- a/mlir/include/mlir/IR/OperationSupport.h
+++ b/mlir/include/mlir/IR/OperationSupport.h
@@ -249,12 +249,10 @@ class OperationName {
   ///  1. They can leave the operation alone and without changing the IR, and
   ///     return failure.
   ///  2. They can mutate the operation in place, without changing anything
-  ///  else
-  ///     in the IR.  In this case, return success.
+  ///     else in the IR. In this case, return success.
   ///  3. They can return a list of existing values that can be used instead
-  ///  of
-  ///     the operation.  In this case, fill in the results list and return
-  ///     success.  The caller will remove the operation and use those results
+  ///     of the operation. In this case, fill in the results list and return
+  ///     success. The caller will remove the operation and use those results
   ///     instead.
   ///
   /// This allows expression of some simple in-place canonicalizations (e.g.


        


More information about the Mlir-commits mailing list