================
@@ -560,11 +560,12 @@ ParsedTargetAttr TargetInfo::parseTargetAttr(StringRef
Features) const {
}
// While we're here iterating check for a different target cpu.
- if (Feature.startswith("arch=")) {
+ if (Feature.startswith("arch=") || Feature.startswith("cpu=")) {
----------------
erichkeane wrote:
We shouldn't be allowing 'cpu' in x86/x86-64 mode, as this is supposed to be
compatible with GCC and I don't see value in it as a non-compatible extension.
https://github.com/llvm/llvm-project/pull/68678
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits