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

    <tr>
        <th>Summary</th>
        <td>
            [remark] the pass-analysis result inconsistent with the input source
        </td>
    </tr>

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

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

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

<pre>
    * test: https://gcc.godbolt.org/z/YrKnWcG3h
```
void foo (int *restrict y, int *restrict x, int *restrict indices, int n) {
  for (int k = 0; k < 10; k++) {
    #pragma loop distribute(enable)
    for (int i = 0; i < n; i++) {
      y[i + k * M] = y[i + k* M] + 1;
      y[i + k * (M+1)] = indices[i] + 2;
    }
  }
}
```
* As you see, I already add **#pragma loop distribute(enable)** in the input source, but the **-Rpass-analysis** still report that 
**\<source>:8:24: remark: loop not vectorized: unsafe dependent memory operations in loop. Use #pragma loop distribute(enable) to allow loop distribution to attempt to isolate the offending operations into a separate loop**
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMVM2O4zYMfhr6QkzgULFjH3xwJk1RFHspUBQ9yhadqKtIhiTPNPv0hZRks5m2iwUImObP91GkRBmCPlrmDqodVPtCLvHkfPc2qWkqBqcuHVCPkUME0eMpxjmA6IEOQIfjOK6OTg3OxJXzR6DDF6DDn_5X-8f4szhBuYeyh7q8Sf59c1rh5BwCNdpGBOo9h-j1GPEC9IofjX__l1FbpUcOd5cFahG2uysF4uT8Hf8zgthjCWKX1VdcX3WgXZanPEQgMXt5PEs0zs2odCIclshADVs5GAZqH-HfEOkHkc5ENqv_w4N4gWqnESjXRT1-gmqfIb5xPOy0wzWI7wIANZ-AdutU4A3q3qZqp-8o9IQC2_3956v6UJ4nlzj6gBe3YGBOrf8FpfEs1QWlUqmGLD_SwByK2mI8MWo7LxGDW_yYYYclZvs16uW3WYbwIq00l6DDLTVEbQx6np1PwTLi1yKTVK8gXm-I4icQfQOip026wp7P0n9OWi7QuohvPEbn9RdWybzYICdGxTNbxTbimc_OX9DN7GXUzoZUeEpe4e-Bf-zKYHQojXHvH4K0s9kVI5_nmFQdnJGRcwfcNLFV2h6fyVMCBp6lT4EJ8HrsQnVCtaKVBXfrul03VLfbpjh1rRK8bZjrbVUNg6SJRc1VPbRqHGQzbQrdUUmibNZUbqt63aym9VgOjRp5GNuqVi1sSj5LbVbGvJ3TYy90CAt39aYW28LIgU3IK4TI8jtmJxCljeK7lPMyLMcAm9LoEMMDJepo8u65jaXa54M_jRw9h8WkRz86G3SIaSjvOp7-dXuKxZvuw47S8bQMq9GdgQ6J9vZ5mb37i8cIdMjFBqBDPsw_AQAA__9D-YeY">