Enable AVX on AMD Bulldozer processors.

llvm-svn: 155900
This commit is contained in:
Craig Topper 2012-05-01 07:18:03 +00:00
parent 05eb6e096a
commit eb590aa956
1 changed files with 1 additions and 1 deletions

View File

@ -1699,7 +1699,7 @@ void X86TargetInfo::getDefaultFeatures(llvm::StringMap<bool> &Features) const {
setFeatureEnabled(Features, "sse4a", true);
case CK_BDVER1:
case CK_BDVER2:
setFeatureEnabled(Features, "sse4", true);
setFeatureEnabled(Features, "avx", true);
setFeatureEnabled(Features, "sse4a", true);
setFeatureEnabled(Features, "aes", true);
break;