[Openmp-commits] [clang] [flang] [llvm] [openmp] [Clang][OpenMP][LoopTransformations] Add support for "#pragma omp fuse" loop transformation directive and "looprange" clause (PR #139293)
Alexey Bataev via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 25 11:14:36 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">;
+def err_omp_not_a_loop_sequence : Error<
+ "statement after '#pragma omp %0' must be a loop sequence containing canonical loops or loop-generating constructs">;
+def err_omp_empty_loop_sequence : Error<
+ "loop sequence after '#pragma omp %0' must contain at least 1 canonical loop or loop-generating construct">;
+def err_omp_invalid_looprange : Error<
+ "looprange clause selects loops from %1 to %2 but this exceeds the number of loops (%3) in the loop sequence">;
+def warn_omp_redundant_fusion : Warning<
+ "looprange clause selects a single loop, resulting in redundant fusion">,
+ InGroup<OpenMPClauses>;
----------------
alexey-bataev wrote:
I don't see all these messages uses
https://github.com/llvm/llvm-project/pull/139293
More information about the Openmp-commits
mailing list