Skip to content

Commit 732a785

Browse files
committed
Fix comments to clarify canonicalization.
1 parent b24d68e commit 732a785

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flang/lib/Semantics/canonicalize-omp.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,15 @@ class CanonicalizationOfOmp {
119119
// ExecutableConstruct -> OpenMPConstruct -> OpenMPLoopConstruct t->
120120
// OmpBeginLoopDirective t-> OmpLoopDirective
121121
// [ExecutableConstruct -> OpenMPConstruct -> OpenMPLoopConstruct u->
122-
/// OmpBeginLoopDirective t-> OmpLoopDirective t-> Tile v-> OMP_tile]
122+
// OmpBeginLoopDirective t-> OmpLoopDirective t-> Tile v-> OMP_tile]
123123
// ExecutableConstruct -> DoConstruct
124-
// [ExecutableConstruct -> OmpEndLoopDirective]
124+
// [ExecutableConstruct -> OmpEndLoopDirective] (note: tile)
125125
// ExecutableConstruct -> OmpEndLoopDirective (if available)
126126
//
127127
// After rewriting:
128128
// ExecutableConstruct -> OpenMPConstruct -> OpenMPLoopConstruct t->
129+
// [OpenMPLoopConstruct t -> OmpBeginLoopDirective -> OmpLoopDirective
130+
// OmpEndLoopDirective] (note: tile)
129131
// OmpBeginLoopDirective t -> OmpLoopDirective -> DoConstruct
130132
// OmpEndLoopDirective (if available)
131133
parser::Block::iterator nextIt;

0 commit comments

Comments
 (0)