From c1d6f67e8ed2fc0616dc9a09e47dcf122ebdbbe5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 30 Oct 2005 16:44:01 +0000 Subject: [PATCH] If the module has no t-t and the host is an alpha, default to using the Alpha BE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24110 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Alpha/AlphaTargetMachine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Alpha/AlphaTargetMachine.cpp b/lib/Target/Alpha/AlphaTargetMachine.cpp index 37f71b25af9..da113e90758 100644 --- a/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/lib/Target/Alpha/AlphaTargetMachine.cpp @@ -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() {