================ @@ -0,0 +1,228 @@ +// RUN: %clang_cc1 -fopenmp -emit-cir -fclangir %s -o - | FileCheck %s --check-prefix=CIR + +void during(int); +int getLB(void); + +// All the loop forms below normalize to an omp.loop_nest iterating a +// `[0, tripCount)` range, where tripCount is computed from the original +// bounds/step. ---------------- jsjodin wrote:
Yes, this should be checked closer. This was initially just to make sure nothing crashed, which was the reason I added all the variations. Fixed! https://github.com/llvm/llvm-project/pull/229256 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
