From: Erich Keane Date: Fri, 27 Oct 2017 18:29:02 +0000 (+0000) Subject: Remove x86,x86_32/64 from isValidFeatureName X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d86c46ef9674cc4f45d296ebd48263588ca3744c;p=clang Remove x86,x86_32/64 from isValidFeatureName These are not valid values for this, and are pretty non-sensical, since LLVM doesn't understand them. Differential Revision: https://reviews.llvm.org/D39378 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316781 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets/X86.cpp b/lib/Basic/Targets/X86.cpp index c986363b23..8338e510dc 100644 --- a/lib/Basic/Targets/X86.cpp +++ b/lib/Basic/Targets/X86.cpp @@ -1169,9 +1169,6 @@ bool X86TargetInfo::isValidFeatureName(StringRef Name) const { .Case("sse4.2", true) .Case("sse4a", true) .Case("tbm", true) - .Case("x86", true) - .Case("x86_32", true) - .Case("x86_64", true) .Case("xop", true) .Case("xsave", true) .Case("xsavec", true)