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

Walter J.T.V via Openmp-commits openmp-commits at lists.llvm.org
Fri May 9 11:50:51 PDT 2025


================
@@ -962,6 +962,9 @@ class OMPLoopTransformationDirective : public OMPLoopBasedDirective {
 
   /// Number of loops generated by this loop transformation.
   unsigned NumGeneratedLoops = 0;
+  /// Number of top level canonical loop nests generated by this loop
+  /// transformation
+  unsigned NumGeneratedLoopNests = 0;
----------------
eZWALT wrote:

Note that unroll is an exception, it could have 0 or 1 but it coincides perfectly with the original number of loops .

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


More information about the Openmp-commits mailing list