We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3de5d8e commit af1741eCopy full SHA for af1741e
flang/lib/Lower/OpenMP.cpp
@@ -2318,8 +2318,9 @@ static void createBodyOfOp(
2318
2319
if (genNested) {
2320
// genFIR(Evaluation&) tries to patch up unterminated blocks, causing
2321
- // a lot of trouble if the terminator generation is delayed past this
2322
- // 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
2323
+ // delete it.
2324
firOpBuilder.setInsertionPointToEnd(&op.getRegion().back());
2325
auto *temp = Fortran::lower::genOpenMPTerminator(firOpBuilder,
2326
op.getOperation(), loc);
0 commit comments