<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56211>56211</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Targets linke `x86-64` can not be used in `cpu_dispatch`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
SchrodingerZhu
</td>
</tr>
</table>
<pre>
CPU targets like `x86-64` is not a valid identifier in c++.
```
test.c:6:32: error: expected ')'
__attribute__((cpu_dispatch(x86-64, x86-64-v2, x86-64-v3, x86-64-v4)))
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdUMFu3CAU_Bp8QWthsPHugUOaqOdKbS-9WBje2qTEtuCxTf--LzRtk0oDnjFmPPPm3f8095--crRpAcw8hu_AmRbPZ33SPREeMt925JbfbAyeBw8bhmuAxMPGHZMfCC1n4oGJO_r-FVUiZGwdU3ealpK0cUhpT5U8H-AQPGdyZPLystc702QRU5gLwjQxeSa4o0w-5MOiW0m-RpP3_Dc73eRbod6KvlpXvA_YeKP8RV1sgwEjmC9_-2__D8DZrU5gBl4yBaba9PpdKPIrKZoV8chUjsmPhCXgWubW7U8kYrz9eZyOtD9Sd5Ih5wKZyKBl1zWrGT05q-F67TzMQ-fcqDtQTuhuVL3rhybaGWI2bKCxyw1-8GpBnA0PTTBSSCm0HMRlOHe6dVoJr2FWXng7wsB6AU82xPYlR7unpUmmRprLkukwhoz536HNOSwbQP0d-duC657MZ7em3YdtgfRtLU1NYGqDXyOqsOk">