Skip to content

Commit 0c76865

Browse files
authored
[Flang][OpenMP][Lower] NFC: Combine two calls to ClauseProcessor::processTODO (#78451)
Just a minimal readability improvement that we overlooked during refactoring.
1 parent 745b193 commit 0c76865

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flang/lib/Lower/OpenMP.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3072,15 +3072,15 @@ createSimdLoop(Fortran::lower::AbstractConverter &converter,
30723072
loopVarTypeSize);
30733073
cp.processScheduleChunk(stmtCtx, scheduleChunkClauseOperand);
30743074
cp.processReduction(loc, reductionVars, reductionDeclSymbols);
3075-
cp.processTODO<Fortran::parser::OmpClause::Linear,
3076-
Fortran::parser::OmpClause::Order>(loc, ompDirective);
30773075
cp.processIf(Fortran::parser::OmpIfClause::DirectiveNameModifier::Simd,
30783076
ifClauseOperand);
30793077
cp.processSimdlen(simdlenClauseOperand);
30803078
cp.processSafelen(safelenClauseOperand);
30813079
cp.processTODO<Fortran::parser::OmpClause::Aligned,
30823080
Fortran::parser::OmpClause::Allocate,
3083-
Fortran::parser::OmpClause::Nontemporal>(loc, ompDirective);
3081+
Fortran::parser::OmpClause::Linear,
3082+
Fortran::parser::OmpClause::Nontemporal,
3083+
Fortran::parser::OmpClause::Order>(loc, ompDirective);
30843084

30853085
convertLoopBounds(converter, loc, lowerBound, upperBound, step,
30863086
loopVarTypeSize);

0 commit comments

Comments
 (0)