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

    <tr>
        <th>Summary</th>
        <td>
            [RISC-V] -mcpu=help emits unsupported cpu targets (generic, rocket)
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          patrick-rivos
      </td>
    </tr>
</table>

<pre>
    Godbolts: 
https://godbolt.org/z/Tzcb8f4vz
https://godbolt.org/z/YPohsdEso

```
clang: error: unsupported argument 'rocket' to option '-mcpu='
clang: error: unsupported argument 'generic' to option '-mcpu='
```

Related: #102959
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUsGO3CAM_RrngmZEnAQmBw7bnabqrdpWlXokxEnokhABmarz9VUys626l3YlZDA29uP56RjtMBMpqN5Bdc70mkYf1KJTsOb5EOzFx6z13U_1wXetdylC8cCAn4E_jCktmwvYADbDLX70YQBsroDNl6tpT315uf5f-rdPfozd--hv6Xcr-H3trnF6HjYEFIIP22Gd47osPiTqmA7DOtGcGKAM3jxTApQseeaXZP28XR8ms6xQnAHlWysONFOw5t8lX2G-2SdyOlG3s4dFzrGu6qxTRVcXtc5I5RKLsuayFtmoTi3KVvK27EXe10YLk8tSVJJy0cpSiMwq5FjyU455jaIQR9NLkXd4KnuNFfIKSk6Ttu7o3GXaSM5sjCuprbHAzOmWXNyHjjjTD7ZHAXHTQFDbo0O7DhFK7mxM8U-ZZJPb1fL08fPj4StUZ_ZCwEhuYTTZFP_i0CwrSzoMlCIDPP2m8ZG9zKjO1uDUK33YNK7t0fgJsNm637fDEvx3Mgmw2TFHwOb-qYvCXwEAAP__gpTcnQ">