[llvm-commits] [llvm] r98522 - /llvm/trunk/lib/Target/X86/X86Subtarget.cpp

Chris Lattner sabre at nondot.org
Sun Mar 14 15:39:35 PDT 2010


Author: lattner
Date: Sun Mar 14 17:39:35 2010
New Revision: 98522

URL: http://llvm.org/viewvc/llvm-project?rev=98522&view=rev
Log:
no really, all 64-bit cpu's have cmov support. This should
fix the rest of the buildbot failures on non-x86 hosts.

Modified:
    llvm/trunk/lib/Target/X86/X86Subtarget.cpp

Modified: llvm/trunk/lib/Target/X86/X86Subtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.cpp?rev=98522&r1=98521&r2=98522&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.cpp Sun Mar 14 17:39:35 2010
@@ -315,9 +315,14 @@
 
   // If requesting codegen for X86-64, make sure that 64-bit features
   // are enabled.
-  if (Is64Bit)
+  if (Is64Bit) {
     HasX86_64 = true;
 
+    // All 64-bit cpus have cmov support.
+    HasCMov = true;
+  }
+    
+
   DEBUG(dbgs() << "Subtarget features: SSELevel " << X86SSELevel
                << ", 3DNowLevel " << X863DNowLevel
                << ", 64bit " << HasX86_64 << "\n");





More information about the llvm-commits mailing list