Don't disable MMX support when AVX is enabled. Fix predicates for MMX instructions...
[oota-llvm.git] / lib / Target / X86 / X86Subtarget.cpp
index 4f0309bc569d57d3144a48ac6fff489ab358cacb..c31db42a7568d990d0ac6245ea3ae8db76976c49 100644 (file)
@@ -386,7 +386,7 @@ X86Subtarget::X86Subtarget(const std::string &TT, const std::string &CPU,
     ToggleFeature(X86::Mode64Bit);
 
   if (HasAVX)
-    X86SSELevel = NoMMXSSE;
+    X86SSELevel = MMX;
     
   DEBUG(dbgs() << "Subtarget features: SSELevel " << X86SSELevel
                << ", 3DNowLevel " << X863DNowLevel