[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
Thu Jul 24 03:59:01 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:
There is not a way to get the type pointed to in LLVMIR because pointers are untyped (all `void *`). I guess what we could do would be to add attributes to the linear clause containing the types?
https://github.com/llvm/llvm-project/pull/139386
More information about the Mlir-commits
mailing list