Skip to content

Commit d362617

Browse files
committed
Fix comments to clarify canonicalization.
1 parent 88348a3 commit d362617

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
@@ -114,13 +114,15 @@ class CanonicalizationOfOmp {
114114
// ExecutableConstruct -> OpenMPConstruct -> OpenMPLoopConstruct t->
115115
// OmpBeginLoopDirective t-> OmpLoopDirective
116116
// [ExecutableConstruct -> OpenMPConstruct -> OpenMPLoopConstruct u->
117-
/// OmpBeginLoopDirective t-> OmpLoopDirective t-> Tile v-> OMP_tile]
117+
// OmpBeginLoopDirective t-> OmpLoopDirective t-> Tile v-> OMP_tile]
118118
// ExecutableConstruct -> DoConstruct
119-
// [ExecutableConstruct -> OmpEndLoopDirective]
119+
// [ExecutableConstruct -> OmpEndLoopDirective] (note: tile)
120120
// ExecutableConstruct -> OmpEndLoopDirective (if available)
121121
//
122122
// After rewriting:
123123
// ExecutableConstruct -> OpenMPConstruct -> OpenMPLoopConstruct t->
124+
// [OpenMPLoopConstruct t -> OmpBeginLoopDirective -> OmpLoopDirective
125+
// OmpEndLoopDirective] (note: tile)
124126
// OmpBeginLoopDirective t -> OmpLoopDirective -> DoConstruct
125127
// OmpEndLoopDirective (if available)
126128
parser::Block::iterator nextIt;

0 commit comments

Comments
 (0)