[Openmp-commits] [clang] [llvm] [mlir] [openmp] [Clang][OpenMP] Canonicalize Intra-tiles in Loop Tiling (PR #191114)

Michael Kruse via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 12 06:19:28 PDT 2026


================
@@ -12303,6 +12303,9 @@ def err_omp_loop_bad_collapse_var : Error<
   "cannot use variable %1 in collapsed imperfectly-nested loop %select{init|condition|increment}0 statement">;
 def err_omp_loop_var_reused_in_collapsed_loop : Error<
   "loop iteration variable %0 cannot be reused in a nested loop of a collapsed loop nest">;
+def err_omp_collapse_stacked_tile : Error<
+  "cannot collapse the intra-tile loop of a '#pragma omp tile' that is nested "
+  "inside another loop-transforming directive">;
----------------
Meinersbur wrote:

Could you adjust the error message to say that it is a current limitation of the implementation, not something that OpenMP does not allow?

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


More information about the Openmp-commits mailing list