]> granicus.if.org Git - clang/commitdiff
[X86] Add 'sse4' to X86TargetInfo::isValidFeatureName
authorCraig Topper <craig.topper@intel.com>
Fri, 27 Oct 2017 00:18:16 +0000 (00:18 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 27 Oct 2017 00:18:16 +0000 (00:18 +0000)
sse4 is valid for target attribute and functions as an alias of sse4.2.

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

lib/Basic/Targets/X86.cpp

index c1d0a8452986c5ed57d3f2e546697ba23d834b1a..c986363b239e76305ac714e840b6de9e4465b912 100644 (file)
@@ -1164,6 +1164,7 @@ bool X86TargetInfo::isValidFeatureName(StringRef Name) const {
       .Case("sse2", true)
       .Case("sse3", true)
       .Case("ssse3", true)
+      .Case("sse4", true)
       .Case("sse4.1", true)
       .Case("sse4.2", true)
       .Case("sse4a", true)