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

    <tr>
        <th>Summary</th>
        <td>
            [RISCV] Propagate VL from segment store in VLoptimizer
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:RISC-V
      </td>
    </tr>

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

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

<pre>
    If an arithmetic operation is consumed by a segment store, we should be able to propagate the VL from the segment store to the arithmetic operation.

CC: @lukel97 @preames 
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskUGLnTAUhX9N3FyemGjMc5GFfYMwMIvSwtvH5KrpRCPJdcr01xcf05aBrnIIOTn3fNfk7OcNUTP5hcmnwhy0xKQp7jsmW4zRvevnCcwGJnlaViRvIe6YDPm4gc9g45aPFR2M72Ag47ziRpApJmTiBj8R8hKP4GBEMGNAoAh7iruZDSHQgnB_gSnF9aE_-c-n5-X_oktW9azqbzdW98CaKhyvGDp1yj2hWTFD4XTturozBWqupFBtxzteLBqxq4SRSuHVNspNjRWyssbV7dRMdcsLr0UlZKW44i3vJC-5klLx1kk7uev1OrKmwtX4UIbwtpYxzYXP-UDNm66WVRHMiCE_mAoxGvuKm2N1_-35--1yZ0KcpJM-vZfxmPM5vs-U__1GnsJjJ6flzuQTfP2L7A-uz6j8BveXuJNf_S9MxZGCXoj2zOqeiYGJYfa0HGNp48rEcAZ9HJc9xR9oiYnh0SEzMXzUeNPidwAAAP__rO6xpA">