aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Alpha/TargetInfo
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/Alpha/TargetInfo')
-rw-r--r--lib/Target/Alpha/TargetInfo/AlphaTargetInfo.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/Target/Alpha/TargetInfo/AlphaTargetInfo.cpp b/lib/Target/Alpha/TargetInfo/AlphaTargetInfo.cpp
index 60f53e3..f148506 100644
--- a/lib/Target/Alpha/TargetInfo/AlphaTargetInfo.cpp
+++ b/lib/Target/Alpha/TargetInfo/AlphaTargetInfo.cpp
@@ -14,14 +14,6 @@ using namespace llvm;
llvm::Target llvm::TheAlphaTarget;
-static unsigned Alpha_JITMatchQuality() {
-#ifdef __alpha
- return 10;
-#else
- return 0;
-#endif
-}
-
static unsigned Alpha_TripleMatchQuality(const std::string &TT) {
// We strongly match "alpha*".
if (TT.size() >= 5 && TT[0] == 'a' && TT[1] == 'l' && TT[2] == 'p' &&
@@ -46,7 +38,7 @@ static unsigned Alpha_ModuleMatchQuality(const Module &M) {
M.getPointerSize() != Module::AnyPointerSize)
return 0; // Match for some other target
- return Alpha_JITMatchQuality()/2;
+ return 0;
}
extern "C" void LLVMInitializeAlphaTargetInfo() {
@@ -54,5 +46,5 @@ extern "C" void LLVMInitializeAlphaTargetInfo() {
"Alpha [experimental]",
&Alpha_TripleMatchQuality,
&Alpha_ModuleMatchQuality,
- &Alpha_JITMatchQuality);
+ /*HasJIT=*/true);
}