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

    <tr>
        <th>Summary</th>
        <td>
            How to support plenty of RISC-V Custom Instruction Extensions?
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          TJU-PanYizhe
      </td>
    </tr>
</table>

<pre>
    RISC-V allows developers to introduce new custom instructions. Compiler(LLVM) needs modification to support diverse custom instructions.

Is it necessory to support every custom instruction proposed by vendors or in papers?

Maintaining a fork of LLVM for every custom instruction extension causes laborious manual effort. Moreover, merging conflict may happen when merging the newest code with the fork.

7 new custom instruction extensions are proposed at most per month in papers from arXiv.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0kstu2zwQhZ-G2gxsyJQUSQstEv8R_hQJUPQStEtKGllsKQ7BoeS6T1_QMeIskpUu5Jw5881RzPpgERtR3Iniv0QtYSLffPv0ffNZ2Z_674RJR8Op-fLwdb95BmUMHRkGXNGQQ88QCLQNnoalR7B4hH7hQDNoy8EvfdBkeQt7mp026IWsHh-fn4SswSIODDMNetS9iveiFi_OkQ8w6BU947tqIr0V6e0Dgw5gsUdm8qe3xbiiP71TCs6TI8YBuhOsaAfyDORBW3AqTiOy9kX8SWkblLbaHkDBSP430AjRevz4uAH-CWg5vvVqYWQwqiOvaWGYlV2UARxH8mELT-SR1khkDzP6Q-zUkx2N7gPM6gSTcg4tHCe0rxfCdGaMHKCnAeGow3T-GR1euJQfbOHqjUF5vLJQAWbiAA49zGTDdOUBo6cZlP-h120yNNlQZ7VKsNmVeVmmZb0rkqnpKsx25U2FN_moikpVmHc9qj5XMq2zsUx0I1NZpIVMUymLXbHN86xOM5mPlSyVlJXIU5yVNltj1nlL_pBo5gWbXZ7eFFViVIeGzxGVMg53PhVSxsT6JhZtuuXAIk-N5sBXmaCDweZ_Or5NhzNowynu8xLq_Qurhzes7l9ZiftW3O1F3SaLN80UgmOR3QrZCtkedJiWbtvTLGQbm14eG-fpF_ZByPZslYVsL7OsjfwXAAD__131M44">