[Mlir-commits] [mlir] 58aa388 - [MLIR][SCF][NFC] Fix typo in documentation of scf.while
Rahul Joshi
llvmlistbot at llvm.org
Mon Jul 26 15:32:38 PDT 2021
Author: Rahul Joshi
Date: 2021-07-26T15:32:03-07:00
New Revision: 58aa3881bac60a497168449b9087e3ebef85a3d8
URL: https://github.com/llvm/llvm-project/commit/58aa3881bac60a497168449b9087e3ebef85a3d8
DIFF: https://github.com/llvm/llvm-project/commit/58aa3881bac60a497168449b9087e3ebef85a3d8.diff
LOG: [MLIR][SCF][NFC] Fix typo in documentation of scf.while
- `scf.yield` in the "after" region supplies new arguments to the "before" region.
Differential Revision: https://reviews.llvm.org/D106806
Added:
Modified:
mlir/include/mlir/Dialect/SCF/SCFOps.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/SCF/SCFOps.td b/mlir/include/mlir/Dialect/SCF/SCFOps.td
index 77d32aed733b8..9e23c30c8a13d 100644
--- a/mlir/include/mlir/Dialect/SCF/SCFOps.td
+++ b/mlir/include/mlir/Dialect/SCF/SCFOps.td
@@ -573,8 +573,8 @@ def WhileOp : SCF_Op<"while",
of the `scf.condition` terminator either to the "after" region if the
control flow is transferred there or to results of the `scf.while` operation
otherwise. The "after" region takes as arguments the values produced by the
- "before" region and uses `scf.yield` to supply new arguments for the "after"
- region, into which it transfers the control flow unconditionally.
+ "before" region and uses `scf.yield` to supply new arguments for the
+ "before" region, into which it transfers the control flow unconditionally.
A simple "while" loop can be represented as follows.
More information about the Mlir-commits
mailing list