| Issue |
83407
|
| Summary |
__builtin_cpu_supports should accept unknown options
|
| Labels |
clang,
backend:ARM,
backend:PowerPC,
backend:X86
|
| Assignees |
|
| Reporter |
DanielKristofKiss
|
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
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs