summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSIL/TargetInfo
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-25 10:09:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-25 10:09:50 +0000
commit691a4784db7a1319571e84fc4cfc4cd63a3b82dd (patch)
tree44f3402afe41eceac7db022418d5ffd4e128a3d9 /llvm/lib/Target/MSIL/TargetInfo
parent3c2da2bb7ed6c55f9960fb2779cf09382a95b1ac (diff)
downloadbcm5719-llvm-691a4784db7a1319571e84fc4cfc4cd63a3b82dd.tar.gz
bcm5719-llvm-691a4784db7a1319571e84fc4cfc4cd63a3b82dd.zip
Simplify JIT target selection.
- Instead of requiring targets to define a JIT quality match function, we just have them specify if they support a JIT. - Target selection for the JIT just gets the host triple and looks for the best target which matches the triple and has a JIT. llvm-svn: 77060
Diffstat (limited to 'llvm/lib/Target/MSIL/TargetInfo')
-rw-r--r--llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp b/llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp
index e50d607dccd..07de7266f41 100644
--- a/llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp
+++ b/llvm/lib/Target/MSIL/TargetInfo/MSILTargetInfo.cpp
@@ -14,10 +14,6 @@ using namespace llvm;
Target llvm::TheMSILTarget;
-static unsigned MSIL_JITMatchQuality() {
- return 0;
-}
-
static unsigned MSIL_TripleMatchQuality(const std::string &TT) {
// This class always works, but shouldn't be the default in most cases.
return 1;
@@ -32,6 +28,5 @@ extern "C" void LLVMInitializeMSILTargetInfo() {
TargetRegistry::RegisterTarget(TheMSILTarget, "msil",
"MSIL backend",
&MSIL_TripleMatchQuality,
- &MSIL_ModuleMatchQuality,
- &MSIL_JITMatchQuality);
+ &MSIL_ModuleMatchQuality);
}
OpenPOWER on IntegriCloud