[clang] [flang] [llvm] [openmp] [Clang][OpenMP][LoopTransformations] Add support for "#pragma omp fuse" loop transformation directive and "looprange" clause (PR #139293)
Walter J.T.V via cfe-commits
cfe-commits at lists.llvm.org
Wed May 21 05:08:45 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">,
----------------
eZWALT wrote:
Nothing actually, it was one of the 3 ideas i had to tackle this problem and if you prefer i will follow this approach (Using uint of 64 bits for example, however your comment left me thinking if NumIterations cause any trouble, i think it can't but i'm not 100% sure to be honest.
https://github.com/llvm/llvm-project/pull/139293
More information about the cfe-commits
mailing list