]> granicus.if.org Git - clang/commitdiff
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316781 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets/X86.cpp

index c986363b239e76305ac714e840b6de9e4465b912..8338e510dcc949b7f9d819f48302acc1d97a4c88 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)