OSDN Git Service

If the module has no t-t and the host is an alpha, default to using the Alpha BE
authorChris Lattner <sabre@nondot.org>
Sun, 30 Oct 2005 16:44:01 +0000 (16:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 30 Oct 2005 16:44:01 +0000 (16:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24110 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaTargetMachine.cpp

index 37f71b2..da113e9 100644 (file)
@@ -51,7 +51,7 @@ unsigned AlphaTargetMachine::getModuleMatchQuality(const Module &M) {
            M.getPointerSize() != Module::AnyPointerSize)
     return 0;                                    // Match for some other target
 
-  return 0;
+  return getJITMatchQuality()/2;
 }
 
 unsigned AlphaTargetMachine::getJITMatchQuality() {