[clang] [flang] [llvm] [openmp] [Clang][OpenMP][LoopTransformations] Add support for "#pragma omp fuse" loop transformation directive and "looprange" clause (PR #139293)
Roger Ferrer Ibáñez via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 2 13:03:05 PDT 2025
================
@@ -11664,6 +11664,17 @@ def note_omp_implicit_dsa : Note<
"implicitly determined as %0">;
def err_omp_loop_var_dsa : Error<
"loop iteration variable in the associated loop of 'omp %1' directive may not be %0, predetermined as %2">;
+def err_omp_not_canonical_loop : Error<
+ "loop after '#pragma omp %0' is not in canonical form">;
----------------
rofirrim wrote:
Agreed, we don't need this. It is already better diagnosed as part of checking a canonical loop.
https://github.com/llvm/llvm-project/pull/139293
More information about the llvm-commits
mailing list