[Mlir-commits] [flang] [mlir] [llvm][mlir][OpenMP] Support translation for linear clause in omp.wsloop and omp.simd (PR #139386)
Tom Eccles
llvmlistbot at llvm.org
Wed Jul 9 08:01:51 PDT 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);
----------------
tblah wrote:
The current implementation of `processLinear` does not seem to guarantee that the variable comes from an alloca. For example what if it is a function argument?
https://github.com/llvm/llvm-project/pull/139386
More information about the Mlir-commits
mailing list