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

    <tr>
        <th>Summary</th>
        <td>
            [Flang][OpenMP] Adding reduction to non-worksharing loop constructs
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            openmp,
            flang:ir
      </td>
    </tr>

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

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

<pre>
    Flang lowering only supports reduction in worksharing loops now. Extend this to other constructs like parallel, sections etc.

CHECK: Does lowering of non-worksharing loop constructs require modifications to the OpenMP MLIR dialect or in the lowering of the OpenMP dialect to LLVM.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFUUuPmzAQ_jVwGS0y5pFw4JAmu2rVRK166N3gIbhxPNQ2TfffdyBabbSXSoj5zIy_x9CRfm1frHJnsHRDbxiQs68Q5mkiHwN41HMfDTkwDm7kL2FU65glmgI4umXw_Dei0xBHEyASUBzRQ08uRM93A1hzQZiUV9aiTeQeAq6UATD2WSIOidjd3_vPz_uvSbGDA2F4sDSwkHv6KP-o4fH3bDzClbQZTK_u_OyGzcC3Cd3pO5yOX36ANsqyPJBfEi3dR5mH6bdB5jgef56yFNu8ritRy3LbpLotdFM0Ko0mWmyT6tO6xqQ6MLwzMIad1gvz-xaZ7T9R0tnbdoxxCryIRL7wczZxnLuspysfrP3zVp4mT7_YIx9NCDMGBtU2b4p0bOt6o3Sjc6nZZ9dvigqrsqhqgZutGDYytapDGxbniZTEjq8Tg-X3cBnWMMXO-OVbdUhNK4WUuRB1XshcNpksSpFjPYh-6MtClEkp8KqMzRZjGflz6tvVYzefAzetCTG8N1UI5uxw3dzCr-Y4km8vxivXj8ppr67ENV2DtWuqfyRG5t0">