Remove x86,x86_32/64 from isValidFeatureName
authorErich Keane <erich.keane@intel.com>
Fri, 27 Oct 2017 18:29:02 +0000 (18:29 +0000)
committerErich Keane <erich.keane@intel.com>
Fri, 27 Oct 2017 18:29:02 +0000 (18:29 +0000)
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

llvm-svn: 316781

clang/lib/Basic/Targets/X86.cpp

index c986363..8338e51 100644 (file)
@@ -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)