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

    <tr>
        <th>Summary</th>
        <td>
            Add support for remaining pseudos in RISCVVLOptimizer
        </td>
    </tr>

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

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

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

<pre>
    Based off this list by @mikhailramalho in https://github.com/llvm/llvm-project/issues/146692#issuecomment-3028026599_, there are a few remaining pseudos that we could potentially support pending whether or not it's correct to reduce their VL:

VFCLASS_V
VFMV_F_S
VFMV_S_F
VFREC7_V
VMADC_VIM
VMADC_VVM
VMADC_VXM
VMSBC_VVM
VMSBC_VXM
VMV1R_V
VMV2R_V
VMV4R_V
VMV8R_V
VMV_S_X
VMV_X_S
VRGATHEREI16_VV
VRGATHER_VI
VRGATHER_VV
VRGATHER_VX
VSBC_VVM
VSBC_VXM

Once we're happy that we support everything we can and have tests, we should remove isSupportedInstr and replace it with `RISCVII::elementsDependOnVL`
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJykk01vszgQxz-NuYwaGfMWDhzSpOxGSlUprFBvyMAkeGtsZJtE2U-_gjZvu8_tOWD0G8-Mx575c2vFUSFmJHoljPXiq-NCGt5z2WnCGIk2Hh9dp00mxy-UaeLVur1kr9xiC_pwANcJC1JYB_UFSEifU4BQ0Dk3WBKsCMsJy4_CdWO9aHRPWC7l6fp7GYz-GxtHWC6sHdESlvthHKeMsGC2NLrvUbmXgLIlZXGUphVha3AdGgQ-fXDAMxjsuVBCHWGwOLbaguu4gzNCo0fZwqAdKie4lBew4zBo42BA1U4R5w6ndKANKO1AOMISC402BhsHToPBdmxwOlMYKHfTreiG0J-1zNe7VVFU5RXfyyqvigcqqvxK-7d1cvN8X23WVbl9f8LyGT9vWLw-7c543y39_T1vyR4hfITlI1RF9XmHz1vR-z9Wf_35tn_b-nFVls_Gqtz-1_A_j2vS55KfKv5eP1SDcEbCEoPQ8WG43Pp27RKe0FxcNzcKoeEKuGqh4ycEh9bZaRom927us8FenxCELb7Dsd0q68wcY3CQvEEQDs7CdUBiut8W63K7nToarFDiNGp2g9NkfKhyR2LqtVnQpkHKPcz8JGI0CKMg8rrswBNKsUmjNPaTKEjiJeWYhpwFSEOeRp7IGGURTWhKQz8KokUd1EiDpd-mrMGWcxLSaWrlYlLCQpujN0985odJHCae5DVK-6PRmjdfqFoSrKaSX8pJpWxNGFN4hjnsR7cmm3VVj0dLQjpJ1N7zO-EkZqu2vb3uQZtfaEcomF-m3H0MTvTiHzTeaGT2O6Ke73TK2L8BAAD__0TsaCI">