Enable "avx" feature, so it can be seen by llvm

llvm-svn: 134935
This commit is contained in:
Bruno Cardoso Lopes 2011-07-11 22:50:13 +00:00
parent 21a41bb5ec
commit 571419bae6
1 changed files with 1 additions and 1 deletions

View File

@ -1220,7 +1220,7 @@ void X86TargetInfo::getDefaultFeatures(const std::string &CPU,
setFeatureEnabled(Features, "mmx", true);
setFeatureEnabled(Features, "sse4", true);
setFeatureEnabled(Features, "aes", true);
// setFeatureEnabled(Features, "avx", true);
setFeatureEnabled(Features, "avx", true);
} else if (CPU == "k6" || CPU == "winchip-c6")
setFeatureEnabled(Features, "mmx", true);
else if (CPU == "k6-2" || CPU == "k6-3" || CPU == "athlon" ||