<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/83407>83407</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
__builtin_cpu_supports should accept unknown options
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang,
backend:ARM,
backend:PowerPC,
backend:X86
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
DanielKristofKiss
</td>
</tr>
</table>
<pre>
Backward\forward compatibility reasons any string shaped parameter in __builtin_cpu_supports should be accepted.
A given codebase might use a valid features that is supported in a new toolchain but not in the previous version.
```__builtin_cpu_supports("unsupported-features")```
It is valid to turn this into a constant false when the feature is not supported by the compiler.
see #82378
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8klGL2zAMxz-N8yKupE7apA956F0pjGNw7GlvRbHVxDvXDpbc0m8_0nZ3GxyDoBgJ6f_720JmNwSiTq2e1WpXYJYxpm6HwZF_TY4lHl8dc9FHe-2e0bxfMFm1ejnGNJ_AxNOE4nrnnVwhEXIMDBiuwJJcGIBHnMjChAlPJJTABTgc-uy8uHAwUz5wnqaYhIHHmL2FngCNoUnILlS5U-V2C4M7UwATLfXIBCc3jAKZCRDO6J2FI6HkRAwyooBjeEwlOwsiBLqAxOjNiC5AnwVClLkkI8GU6OxiZjhTYhfDQ_YR1-X9-5pa6VZpncOH3tMfFKW10puPdvh76Lcb4x1dIkhOM4ljcEEiIJgYWDAIHNEzwWWkO-lj9tw883-a7K-3-vwczlP618EtMhEoXbW6atrCdpXdVBssqFs25UaXdVu3xditTWlbezR909tlXa6qtllWTV_pdrUxrWkL1-lS16XWm-WybPRqgXVjNktdY6uPtLRrVZd0QucX3p9Pi5iGwjFn6tqqLpvCY0-eb9umtfEYhtstvSitezTvFKyqttsf37_IvsULpbeXLyo_2_WcXe2K1M2qT30eWNWldyz8ySFOPHX_37374kEO7yFeAsRJXAxc5OS7UWRiVW2V3iu9H5yMuV-YeFJ6P0s8fk9Tir_IiNL7m29Wen-z_jsAAP__48siDg">