[Mlir-commits] [mlir] [OpenMP] Enable simd in non-reduction composite constructs (PR #146097)

Kajetan Puchalski llvmlistbot at llvm.org
Tue Jul 1 06:04:40 PDT 2025


mrkajetanp wrote:

Thank you for that background, the reasoning seems sensible to me.

> How much of an issue would it be to always emit warnings instead of errors for all unsupported simd clauses?

Currently not supported clauses are reduction, if, linear, nontemporal and order based on my testing. Of those, with the change I just pushed, both `if` and `reduction` are ignored with a warning. The remaining 3 clauses result in either a crash or a semantics error, but that is also the case without this PR as the crash happens before the `convertOmpSimd` codepath is reached. Since that is unaffected by this PR, I think addressing it would best be done in a separate one.

https://github.com/llvm/llvm-project/pull/146097


More information about the Mlir-commits mailing list