Add in disabled case as well.

llvm-svn: 97716
This commit is contained in:
Eric Christopher 2010-03-04 02:31:44 +00:00
parent 399ffa55d2
commit cfeceffa27
1 changed files with 4 additions and 0 deletions

View File

@ -780,6 +780,10 @@ bool X86TargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features,
Features["ssse3"] = Features["sse41"] = Features["sse42"] = false;
else if (Name == "sse4")
Features["sse41"] = Features["sse42"] = false;
else if (Name == "sse4.2")
Features["sse42"] = false;
else if (Name == "sse4.1")
Features["sse41"] = Features["sse42"] = false;
else if (Name == "3dnow")
Features["3dnow"] = Features["3dnowa"] = false;
else if (Name == "3dnowa")