<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/129023>129023</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            OpenMP Test Failures on Windows
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          omjavaid
      </td>
    </tr>
</table>

<pre>
    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. 

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.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyklFFv2zYQxz8N9XKIwFCyHT_owcsibFi67cFb9xZQ1MlkR5Ha8SS3336g7Kbd1mBoAxgWSJC83__-d6dTcqeA2IjNd2LzfaFntpGaOL7Ti3Z90cX-Q_PWOo_AmNiFEzw-_v4GlARCjzohJFyQtIdfJgxvfgWaA7vxcjzBoJ2HGOCtC308pxKOFhOu2zNhAheW6BcEH-METDqkIdKo2cWQQIcezpH-TFZTjmxiSEyz4STUPUzkRk3OfwA9DGj4csJ7PWUoY7Gffd7LrzhG0hzp3yFKIQ9CHo4WwaU0538IkcG70TH2wPFZ5oKUVqpuZpjyIutzAdgieJ3lQo8L-jiNGBg60sHYEi4RWu1WmBigi2zh_bZewQ40buvn7FzOCpV_nwkXqh0iCdXGcXoaIj19lPn02zQhHcnpcJq9ptJc7gp5eCCKJKoD_BhwGJxxmekL6cmZZEuoe5BwrYYe1DVjq2Ch7pKNs--hQ5A3t0Ltv570MZ4_J33ElB7-mrV_HXL1ZeR_4D1bLlTrAiMZq8MJ84qRhkilmab_Qtz_8HD_083PD38cYXRp1GxsdhvfT2hyabxQUhBnnmZ-kYCd_9bQvHbh_0b7Vjte58TmBSeKvqn6fbXXBTa3u1pu691OysI2W1PvjOpqsxtwK9Wm28ka5V5VXY-m2nSFa5RUG6nUTu5vN1KW2-2d2khU_ba_q6RGUUsctfOl98tYRjoVaw83t2ovVVV43aFP62BTKuD50uFCqTznqMmXbrr5lEQtfe7lT8-wY4_NdZ4dc2O3H-fVp1FWzOQbyzwlUR2EaoVqT47t3JUmZqPza9fPzUTxHRrOvmeGJFR7hVwa9XcAAAD__5Am48A">