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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77060 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/CellSPU/TargetInfo/CellSPUTargetInfo.cpp b/lib/Target/CellSPU/TargetInfo/CellSPUTargetInfo.cpp
index bd0e415..04171ec 100644
--- a/lib/Target/CellSPU/TargetInfo/CellSPUTargetInfo.cpp
+++ b/lib/Target/CellSPU/TargetInfo/CellSPUTargetInfo.cpp
@@ -14,10 +14,6 @@
 
 Target llvm::TheCellSPUTarget;
 
-static unsigned CellSPU_JITMatchQuality() {
-  return 0;
-}
-
 static unsigned CellSPU_TripleMatchQuality(const std::string &TT) {
   // We strongly match "spu-*" or "cellspu-*".
   if ((TT.size() == 3 && std::string(TT.begin(), TT.begin()+3) == "spu") ||
@@ -44,6 +40,5 @@
   TargetRegistry::RegisterTarget(TheCellSPUTarget, "cellspu",
                                   "STI CBEA Cell SPU [experimental]",
                                   &CellSPU_TripleMatchQuality,
-                                  &CellSPU_ModuleMatchQuality,
-                                  &CellSPU_JITMatchQuality);
+                                  &CellSPU_ModuleMatchQuality);
 }