Fix sse4 for target attribute feature additions.
authorEric Christopher <echristo@gmail.com>
Wed, 1 Jul 2015 00:08:32 +0000 (00:08 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 1 Jul 2015 00:08:32 +0000 (00:08 +0000)
commit298ac300b24c4efe5fb5e1738f663b1a9744a657
tree888e47a8f90f317a4d74d9626aab0af201f1ba87
parent2249b8169729d1816365d8069caa342c98068760
Fix sse4 for target attribute feature additions.
This reinstates part of the hack removed in r233223, by special
casing sse4 as part of the feature additions. The notable change
here is that we consider it only as part of setting the SSE level
and not as part of the actual target features set which handles
setting the rest of the masks.

llvm-svn: 241130
clang/lib/Basic/Targets.cpp
clang/test/CodeGen/attr-target.c