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

    <tr>
        <th>Summary</th>
        <td>
            Backport "[RISCV] Check type is legal before combining mgather to vlse intrinsic" to 18.x
        </td>
    </tr>

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

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

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

<pre>
    /cherry-pick 06c89bd
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxEkMuq5CwQx5-m3EgHUyYxLlz0hcC3_QbOXk114rS5oOYw_fZDmgOzKqiq_4WfzTlMK5GB9gbtg9mjzFsy8XhR1Iq5bXwbwMHPlNL7sgf_4qLzvXYjG40ctdSWkamVUEq3baPZbLq27qS1VmnXd89WSemwFthp0ahO15oFgwIbgbUUUmqhq7Hreu_8s2mEItV7aAQtNsQqxu-l2tLEQs4Hmb5uO8WidRTzpzCis_5F6wjy-v9_v-6XL0AEvANiokg2E8jr-bJvqZyn9sGSOV0v7pgyNCKGXPK_nBJKJHP7UfCP5HY6f0H74PeZ_IuX9048ZB5pspE7em6JuN8WF9awTnyZbJkp8bLx75iJh7WksObgAfFc1n31hx0pmrmUPYO8Ag6AwxTKfLjKbwvgcPb5GZc9bb_JF8DhAyEDDh8OfwMAAP__ojeKaA">