[Mlir-commits] [mlir] [mlir][NFC] Fix format of comments for `foldHook` (PR #118453)
Longsheng Mou
llvmlistbot at llvm.org
Tue Dec 3 01:31:53 PST 2024
https://github.com/CoTinker created https://github.com/llvm/llvm-project/pull/118453
None
>From d832e0149f146544d9863b7f234d4a6f33c51e40 Mon Sep 17 00:00:00 2001
From: Longsheng Mou <longshengmou at gmail.com>
Date: Tue, 3 Dec 2024 17:28:48 +0800
Subject: [PATCH] [mlir][NFC] Fix format of comments for `foldHook`
---
mlir/include/mlir/IR/OperationSupport.h | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
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.
More information about the Mlir-commits
mailing list