[flang-commits] [flang] [mlir] [flang][openmp] Changes for invoking scan Op (PR #123254)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Thu Jan 23 03:48:32 PST 2025


================
@@ -344,6 +344,19 @@ bool ClauseProcessor::processDistSchedule(
   return false;
 }
 
+bool ClauseProcessor::processExclusive(
+    mlir::Location currentLocation,
+    mlir::omp::ExclusiveClauseOps &result) const {
+  return findRepeatableClause<omp::clause::Exclusive>(
----------------
skatrak wrote:

The inclusive and exclusive clauses are tagged as unique in the spec, so use `findUniqueClause` instead.

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


More information about the flang-commits mailing list