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 cab5085 commit cab2249Copy full SHA for cab2249
flang/lib/Lower/OpenMP.cpp
@@ -1501,9 +1501,8 @@ bool ClauseProcessor::processDistSchedule(
1501
mlir::Value &chunkSize) const {
1502
if (auto *distScheduleClause = findUniqueClause<ClauseTy::DistSchedule>()) {
1503
scheduleStatic = converter.getFirOpBuilder().getUnitAttr();
1504
- if (const auto *expr = Fortran::semantics::GetExpr(distScheduleClause->v)) {
+ if (const auto *expr = Fortran::semantics::GetExpr(distScheduleClause->v))
1505
chunkSize = fir::getBase(converter.genExprValue(*expr, stmtCtx));
1506
- }
1507
return true;
1508
}
1509
return false;
0 commit comments