Skip to content

Commit 1bc5f38

Browse files
committed
[flang][OpenMP] Reintroduce TODO for FIR lowering of linear clause
1 parent 351303c commit 1bc5f38

File tree

2 files changed

+2
-59
lines changed

2 files changed

+2
-59
lines changed

flang/lib/Lower/OpenMP/OpenMP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,13 +1979,13 @@ static void genWsloopClauses(
19791979
llvm::SmallVectorImpl<const semantics::Symbol *> &reductionSyms) {
19801980
ClauseProcessor cp(converter, semaCtx, clauses);
19811981
cp.processNowait(clauseOps);
1982-
cp.processLinear(clauseOps);
19831982
cp.processOrder(clauseOps);
19841983
cp.processOrdered(clauseOps);
19851984
cp.processReduction(loc, clauseOps, reductionSyms);
19861985
cp.processSchedule(stmtCtx, clauseOps);
19871986

1988-
cp.processTODO<clause::Allocate>(loc, llvm::omp::Directive::OMPD_do);
1987+
cp.processTODO<clause::Allocate, clause::Linear>(
1988+
loc, llvm::omp::Directive::OMPD_do);
19891989
}
19901990

19911991
//===----------------------------------------------------------------------===//

flang/test/Lower/OpenMP/wsloop-linear.f90

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)