Description
While testing LLVM 20 release several OpenMP runtime tests fail on Windows. These failures involve loop transformations and worksharing constructs, primarily affecting collapse scheduling and iterator transformations.
The issue is not limited to release versions but persists in the latest development branch. Also failing on LLVM 19 release branch but this was not tested before LLVM 20.
Failing on both x64 and Arm64 Windows.
worksharing/for/omp_for_collapse_UpperTriangular.c
Error: Inefficient collapse scheduling, thread 0 assigned 2 iterations (should be 0-1).
worksharing/for/omp_for_collapse_LowerTriangularLessEqual.c
Error: Inefficient collapse scheduling, thread 3 assigned 2 iterations.
transform/interchange/iterfor.cpp
Error: CHECK-NEXT mismatch in expected iterator transformation output.
transform/tile/iterfor.cpp
Error: CHECK-NEXT mismatch in tile transformation output.
worksharing/for/omp_for_collapse_LowerTriangularLess.c
Error: Inefficient collapse scheduling, thread 5 assigned 2 iterations.