<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/90548>90548</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[X86] Missing new feature detection in getAvailableFeatures
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:X86
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
phoebewang
</td>
</tr>
</table>
<pre>
When adding new features, we should add definations in `X86TargetParser.def` and detection in `getAvailableFeatures` for driver to detect the correct CPU name when using `march=native`. Now, `getAvailableFeatures` lacks a lot of newly added features.
CC: @FreddyLeaf
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kkGP2y4QxT_N-DJai2BgnYMP-Sfy6d9qD62617EZ23SJWQFOlG9fkaatWlW9AIc3vPfjQSm5eWXuQP8H-lTRlpcQu_cl8MBXWudqCPbWfVl4RbLWrTOufMWJKW-RE8gjXhnTEjZviwAtT26l7MKa0K0IRry25hPFmfMLxcSxtjyBEUhrEWcei_YhnTkfLuQ8DZ77HxZG4BQi2uguHDGHxxTmhXEMMZbz8eUzrnRmvJagWyo5wYgzxXGB5lQCXRiMqPFjuJbQ_zDzNL4lJPQhY5gKrr8VNLY_sWsQJxCH7-vxCM0BQYk-srW3_5kmrGzX2H2zp4q73fNOKaW10dXS8W7aNVIJ2-xbY3cjkdBGaua2FcRCVa6TQiqhGiGklkrXvG_s8MymZaO0fR5ACT6T87X3l3Md4ly5lDbu9kKrtvI0sE_3NqUcaHzj1UJzeG0NSFkKjl2Zexq2OYES3qWcft2UXfb3r1D0-oQfXEp_VP57Z397w2qLvltyfk_QHED2IPvZ5WUb6jGcQfbF7bE9vcfwlccMsr9DJJD9neNbAAAA___9YNjv">