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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Dec 3 01:32:29 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Longsheng Mou (CoTinker)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/118453.diff


1 Files Affected:

- (modified) mlir/include/mlir/IR/OperationSupport.h (+4-6) 


``````````diff
diff --git a/mlir/include/mlir/IR/OperationSupport.h b/mlir/include/mlir/IR/OperationSupport.h
index 1b93f3d3d04fe8..89a2fa985a9693 100644
--- a/mlir/include/mlir/IR/OperationSupport.h
+++ b/mlir/include/mlir/IR/OperationSupport.h
@@ -248,13 +248,11 @@ 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.
+  ///  2. They can mutate the operation in-place, without changing anything
+  ///     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.

``````````

</details>


https://github.com/llvm/llvm-project/pull/118453


More information about the Mlir-commits mailing list