Skip to content

Commit

Permalink
Update loop nest op description
Browse files Browse the repository at this point in the history
  • Loading branch information
skatrak committed Mar 13, 2024
1 parent 21122cf commit 8226b47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def LoopNestOp : OpenMP_Op<"loopnest", [SameVariadicOperandSize,
ParentOneOf<["DistributeOp", "SimdLoopOp", "TaskLoopOp",
"WsLoopOp"]>,
RecursiveMemoryEffects]> {
let summary = "canonical loop";
let summary = "rectangular loop nest";
let description = [{
This operation represents a collapsed rectangular loop nest. For each
rectangular loop of the nest represented by an instance of this operation,
Expand All @@ -527,8 +527,8 @@ def LoopNestOp : OpenMP_Op<"loopnest", [SameVariadicOperandSize,

The body region can contain any number of blocks. The region is terminated
by "omp.yield" instruction without operands. The induction variables,
represented as entry block arguments to the canonical loop operation's
single region, match the types of the `lowerBound`, `upperBound` and `step`
represented as entry block arguments to the loop nest operation's single
region, match the types of the `lowerBound`, `upperBound` and `step`
arguments.

```mlir
Expand Down

0 comments on commit 8226b47

Please sign in to comment.