no really, all 64-bit cpu's have cmov support. This should
authorChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 22:39:35 +0000 (22:39 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 22:39:35 +0000 (22:39 +0000)
fix the rest of the buildbot failures on non-x86 hosts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98522 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Subtarget.cpp

index adef5bcb48020d89a3cc3e7fb5c7d68d169b9ba6..f907614c86af50d4e5a43b4406ee399ad292f857 100644 (file)
@@ -315,9 +315,14 @@ X86Subtarget::X86Subtarget(const std::string &TT, const std::string &FS,
 
   // 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");