[Mlir-commits] [mlir] [MLIR][OpenMP] Lowering support for Order clause in SIMD directive (PR #96866)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Jun 27 02:38:37 PDT 2024
================
@@ -1543,7 +1543,9 @@ convertOmpSimd(Operation &opInst, llvm::IRBuilderBase &builder,
loopInfo, alignedVars,
simdOp.getIfExpr() ? moduleTranslation.lookupValue(simdOp.getIfExpr())
: nullptr,
- llvm::omp::OrderKind::OMP_ORDER_unknown, simdlen, safelen);
+ simdOp.getOrderVal() ? llvm::omp::OrderKind::OMP_ORDER_concurrent
+ : llvm::omp::OrderKind::OMP_ORDER_unknown,
----------------
harishch4 wrote:
Present implementation doesn't allow anything other than concurrent, [example](https://godbolt.org/z/no6WxE165).
https://github.com/llvm/llvm-project/pull/96866
More information about the Mlir-commits
mailing list