[Mlir-commits] [mlir] 270e7b4 - [mlir][docs] Fix typos / tweak `mlir::Value` class documentation (#191042)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Apr 8 13:24:23 PDT 2026
Author: bernborgess
Date: 2026-04-08T22:24:17+02:00
New Revision: 270e7b497ec893a43e60a0db35f10c0153200e38
URL: https://github.com/llvm/llvm-project/commit/270e7b497ec893a43e60a0db35f10c0153200e38
DIFF: https://github.com/llvm/llvm-project/commit/270e7b497ec893a43e60a0db35f10c0153200e38.diff
LOG: [mlir][docs] Fix typos / tweak `mlir::Value` class documentation (#191042)
Added:
Modified:
mlir/include/mlir/IR/Value.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/IR/Value.h b/mlir/include/mlir/IR/Value.h
index 79d3fc5fd8a59..fa09209b93c71 100644
--- a/mlir/include/mlir/IR/Value.h
+++ b/mlir/include/mlir/IR/Value.h
@@ -86,13 +86,13 @@ class alignas(8) ValueImpl : public IRObjectWithUseList<OpOperand> {
/// This class represents an instance of an SSA value in the MLIR system,
/// representing a computable value that has a type and a set of users. An SSA
-/// value is either a BlockArgument or the result of an operation. Note: This
-/// class has value-type semantics and is just a simple wrapper around a
-/// ValueImpl that is either owner by a block(in the case of a BlockArgument) or
-/// an Operation(in the case of an OpResult).
-/// As most IR constructs, this isn't const-correct, but we keep method
-/// consistent and as such method that immediately modify this Value aren't
-/// marked `const` (include modifying the Value use-list).
+/// value is either a BlockArgument or the result of an operation.
+/// Note: This class has value-type semantics and is just a simple wrapper
+/// around a ValueImpl that is either owned by a block (in the case of a
+/// BlockArgument) or an Operation (in the case of an OpResult).
+/// As most IR constructs, this isn't const-correct, but we keep the method
+/// consistent, and therefore methods that immediately modify this Value aren't
+/// marked `const` (including modifying the Value's use-list).
class Value {
public:
constexpr Value(detail::ValueImpl *impl = nullptr) : impl(impl) {}
More information about the Mlir-commits
mailing list