Skip to content

Commit

Permalink
[Flang][OpenMP] Reword comment for clarification, NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
kparzysz committed Jan 22, 2024
1 parent 3de5d8e commit af1741e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flang/lib/Lower/OpenMP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2318,8 +2318,9 @@ static void createBodyOfOp(

if (genNested) {
// genFIR(Evaluation&) tries to patch up unterminated blocks, causing
// a lot of trouble if the terminator generation is delayed past this
// point. Insert a temporary terminator here, then delete it.
// a lot of complications for our approach if the terminator generation
// is delayed past this point. Insert a temporary terminator here, then
// delete it.
firOpBuilder.setInsertionPointToEnd(&op.getRegion().back());
auto *temp = Fortran::lower::genOpenMPTerminator(firOpBuilder,
op.getOperation(), loc);
Expand Down

0 comments on commit af1741e

Please sign in to comment.