r316718 - [X86] Add 'sse4' to X86TargetInfo::isValidFeatureName

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 17:18:16 PDT 2017


Author: ctopper
Date: Thu Oct 26 17:18:16 2017
New Revision: 316718

URL: http://llvm.org/viewvc/llvm-project?rev=316718&view=rev
Log:
[X86] Add 'sse4' to X86TargetInfo::isValidFeatureName

sse4 is valid for target attribute and functions as an alias of sse4.2.

Modified:
    cfe/trunk/lib/Basic/Targets/X86.cpp

Modified: cfe/trunk/lib/Basic/Targets/X86.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/X86.cpp?rev=316718&r1=316717&r2=316718&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets/X86.cpp (original)
+++ cfe/trunk/lib/Basic/Targets/X86.cpp Thu Oct 26 17:18:16 2017
@@ -1164,6 +1164,7 @@ bool X86TargetInfo::isValidFeatureName(S
       .Case("sse2", true)
       .Case("sse3", true)
       .Case("ssse3", true)
+      .Case("sse4", true)
       .Case("sse4.1", true)
       .Case("sse4.2", true)
       .Case("sse4a", true)




More information about the cfe-commits mailing list