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

    <tr>
        <th>Summary</th>
        <td>
            [LV] Histograms lose alias information
        </td>
    </tr>

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

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

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

<pre>
    When vectorizing histograms we lose the alias information we had on the load/store

reproducer: https://compiler-explorer.com/z/Gr3sxGzvr 

Notice that before LoopVectorize, the load and the store had alias information, but after the optimization, the histogram doesn't.


</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkksFunDAQhp_GXKxdwQD1cvBh2xXpIeqhh_Rs7AFcGQ-yzSbdp69wVhtFOSH8j399ms8qRjt5RMna76y9FGpLMwX5m_xFzcpXZVUMZP7JPzN6fkWdKNib9ROfbUw0BbVE_orcUUSeZuTKWRW59SOFRSVLfk9nZTj5nDtShkEfEwVk5ZmV54BrILNpDKw-8zmlNbL6zKBn0GtaVuswHPBtdRQwHDUtDPobg_4p1PHt6XYN_L3nFyWrdwiV-IAjBeTPROvLnRkZ_HgQcOVN_skcme8L-D4_bImrMWHIw7Qmu9jbI93PHmvghjB6BiId33kKI2vT1Z0qUFaigRN0p7orZmnwVJ0ART0o0apxaLTRpRFlNSrxbRybwkoooS1raKoW6lYclQYNlahEp8VQdh1rSlyUdUfnrsuRwlTYGDeUVQ2iFYVTA7qYjQJ4fOU5ZQC74CD3S4dhmyJrSmdjih81ySaXn8LzC2sv_OeH4yz4y46KLTj5Wdlk07wNd0978f1zWAP9RZ0Y9BknMujvvFcJ_wMAAP__MAzXJw">