[flang][openacc] Remove single reduction clause limitation
authorRazvan Lupusoru <rlupusoru@nvidia.com>
Wed, 7 Jun 2023 18:05:40 +0000 (11:05 -0700)
committerRazvan Lupusoru <rlupusoru@nvidia.com>
Wed, 7 Jun 2023 20:44:21 +0000 (13:44 -0700)
commitea63b395c0a75257224becd69c3d48ab4290c3b4
treea3bd660346e8a5b64f5919847bbf7cfd0f28aab6
parentb38a913fc0935b594f54b2b68704c5f0e3846fa7
[flang][openacc] Remove single reduction clause limitation

The constraint that a single reduction clause is allowed is actually
not valid as per OpenACC specification. Multiple reduction clauses
are allowed, especially since reduction clauses can have different
reduction operators.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D152389
llvm/include/llvm/Frontend/OpenACC/ACC.td