aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-30 16:44:01 +0000
committerChris Lattner <sabre@nondot.org>2005-10-30 16:44:01 +0000
commitc1d6f67e8ed2fc0616dc9a09e47dcf122ebdbbe5 (patch)
tree48a555e8d1774876033ea500322e9d56c08e8758 /lib/Target/Alpha/AlphaTargetMachine.cpp
parent5c2c64e5670dba7a66ae0d2e403cc4723d0089a1 (diff)
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
Diffstat (limited to 'lib/Target/Alpha/AlphaTargetMachine.cpp')
-rw-r--r--lib/Target/Alpha/AlphaTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaTargetMachine.cpp b/lib/Target/Alpha/AlphaTargetMachine.cpp
index 37f71b25af..da113e9075 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() {