From: Craig Topper Date: Fri, 27 Oct 2017 00:18:16 +0000 (+0000) Subject: [X86] Add 'sse4' to X86TargetInfo::isValidFeatureName X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=498771461741398a3879ba145b2c9e5e19f0ae88;p=clang [X86] Add 'sse4' to X86TargetInfo::isValidFeatureName 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 --- diff --git a/lib/Basic/Targets/X86.cpp b/lib/Basic/Targets/X86.cpp index c1d0a84529..c986363b23 100644 --- a/lib/Basic/Targets/X86.cpp +++ b/lib/Basic/Targets/X86.cpp @@ -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)