aboutsummaryrefslogtreecommitdiff
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
commit5c7d731832c995b6ee96bbdccc15896753250a13 (patch)
tree2ba7d2be233b6979284dea91dafcea09b827fcce
parent57b7ee9da8f7736e2b9109a23e09454f1e5c3bc5 (diff)
downloadllvm-5c7d731832c995b6ee96bbdccc15896753250a13.zip
llvm-5c7d731832c995b6ee96bbdccc15896753250a13.tar.gz
llvm-5c7d731832c995b6ee96bbdccc15896753250a13.tar.bz2
If the module has no t-t and the host is an alpha, default to using the Alpha BE
llvm-svn: 24110
-rw-r--r--llvm/lib/Target/Alpha/AlphaTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
index 37f71b2..da113e9 100644
--- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
+++ b/llvm/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() {