diff options
author | Sergio Afonso <safonsof@amd.com> | 2024-08-27 12:57:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 12:57:35 +0100 |
commit | 6f62757e779492b288a98c7c2e27eba95a551e3b (patch) | |
tree | ed38818b5d6cb0b418f04a67e5b7a2fbdd7aa2bb /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 063e0bd52ac7a25b5d7073a9904f8be6a38220b3 (diff) | |
download | llvm-6f62757e779492b288a98c7c2e27eba95a551e3b.zip llvm-6f62757e779492b288a98c7c2e27eba95a551e3b.tar.gz llvm-6f62757e779492b288a98c7c2e27eba95a551e3b.tar.bz2 |
[MLIR][OpenMP] NFC: Update parallel workshare loop reduction tests (#105835)
This patch updates MLIR tests for `omp.parallel` + `omp.wsloop`
reductions to move the reduction clause into `omp.wsloop` rather than
the parent `omp.parallel`, as mandated by the spec for these cases and
also to match what Flang is already producing for `parallel do
reduction(...)` combined constructs.
From the OpenMP Spec version 5.2, section 17.2:
> The effect of the reduction clause is as if it is applied to all leaf
constructs that permit the clause, except for the following constructs:
> - The `parallel` construct, when combined with the `sections`,
worksharing-loop, `loop`, or `taskloop` construct; [...]
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions