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

    <tr>
        <th>Summary</th>
        <td>
            RISC-V error "system register use requires an option to be enabled" is incredibly vague
        </td>
    </tr>

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

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

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

<pre>
    In `RiscvAsmParser.cpp` it can print an error "system register use requires an option to be enabled" in some case. This is a stupidly frustrating error message. What option does it require? It should say.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyskLuO2zAQRb-GagYrUNTDVsFik0DAdsFmkdQkNZYm4EPhkA7894ENB_mBVCw4c--ZY5hpi4hajJ_E-KUxtewp6w8KIYTGpvWm3yKISb4Tu-srh68mM-bWHYeYJFABZyIcmWIBEwFzThmEUnzjggEybsQFM1RGyPirUka-D6ajUIpQElgEjMZ6XIVSQBE4BQRnGFv42ImBGAxwqQet_gaXXLlkUyhuz7aAzGbDFn7spvwNXhPyne7ZKfoF3grwnqpfgc2tbVbdr3M_mwZ1dxrHSU6z7Jpd9-fenU-z63GwbrrM8iSdtJdpWtW8DubUkFZSjfLczZ3qh3FuOztaNfWXyTpzkeokBonBkG-9v4Y25a0h5oq6G4e-OzfeWPT8EK5UxN_w-BVK3f1nfV96sXVjMUhPXPhfTKHiUb-_ffv88v0_qGag6DKuZP0Nrmar2NTs9V7KwaJ_FWoRatmo7NW2LgWhljvJ83k5cvqJrgi1PPhZqOV54FWrPwEAAP__RnHITQ">