[clang] [flang] [llvm] [openmp] [Clang][OpenMP][LoopTransformations] Add support for "#pragma omp fuse" loop transformation directive and "looprange" clause (PR #139293)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Wed May 21 06:20:14 PDT 2025
================
@@ -11516,6 +11516,21 @@ 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 warn_omp_different_loop_ind_var_types : Warning <
+ "loop sequence following '#pragma omp %0' contains induction variables of differing types: %1 and %2">,
----------------
alexey-bataev wrote:
There is no such restriction in the standard, so if we can promote to larger type, we should do it
https://github.com/llvm/llvm-project/pull/139293
More information about the cfe-commits
mailing list