[Openmp-commits] [clang] [flang] [llvm] [openmp] [Clang][OpenMP][LoopTransformations] Add support for "#pragma omp fuse" loop transformation directive and "looprange" clause (PR #139293)

Michael Kruse via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 6 05:03:07 PDT 2025


================
@@ -5914,6 +5935,91 @@ class OMPInterchangeDirective final : public OMPLoopTransformationDirective {
   }
 };
 
+/// Represents the '#pragma omp fuse' loop transformation directive
+///
+/// \code{c}
+/// #pragma omp fuse
+/// {
+///   for(int i = 0; i < m1; ++i) {...}
+///   for(int j = 0; j < m2; ++j) {...}
+///   ...
+/// }
+/// \endcode
+
----------------
Meinersbur wrote:

```suggestion
```
[nit]

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


More information about the Openmp-commits mailing list