[flang-commits] [flang] [mlir] [llvm][mlir][OpenMP] Support translation for linear clause in omp.wsloop and omp.simd (PR #139386)
via flang-commits
flang-commits at lists.llvm.org
Sun Nov 2 03:38:00 PST 2025
================
@@ -1816,8 +1816,7 @@ static void genSimdClauses(
cp.processReduction(loc, clauseOps, reductionSyms);
cp.processSafelen(clauseOps);
cp.processSimdlen(clauseOps);
-
- cp.processTODO<clause::Linear>(loc, llvm::omp::Directive::OMPD_simd);
+ cp.processLinear(clauseOps);
----------------
NimishMishra wrote:
Sorry for the long absence. I was caught up with some assignments.
The latest version of the PR now handles types by passing them as attributes, which are then used to instantiate the linear variables. Your example above no longer crashes with this implementation.
https://github.com/llvm/llvm-project/pull/139386
More information about the flang-commits
mailing list