summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/TargetInfo
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-26 02:22:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-26 02:22:58 +0000
commitfa27ff296d3694a68e7abb3b6b7629588def3e58 (patch)
tree2a8122cc81a121aaf66245f276761d12dd92bca0 /lib/Target/SystemZ/TargetInfo
parenta5881e3060aee9f82aef3747a97650e5eafe893a (diff)
downloadllvm-fa27ff296d3694a68e7abb3b6b7629588def3e58.tar.gz
llvm-fa27ff296d3694a68e7abb3b6b7629588def3e58.tar.bz2
llvm-fa27ff296d3694a68e7abb3b6b7629588def3e58.tar.xz
Kill Target specific ModuleMatchQuality stuff.
- This was overkill and inconsistently implemented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/TargetInfo')
-rw-r--r--lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp b/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
index 49c8e19b3a..e063a911d0 100644
--- a/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
+++ b/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
@@ -23,18 +23,8 @@ static unsigned SystemZ_TripleMatchQuality(const std::string &TT) {
return 0;
}
-static unsigned SystemZ_ModuleMatchQuality(const Module &M) {
- // Check for a triple match.
- if (unsigned Q = SystemZ_TripleMatchQuality(M.getTargetTriple()))
- return Q;
-
- // Otherwise we don't match.
- return 0;
-}
-
extern "C" void LLVMInitializeSystemZTargetInfo() {
TargetRegistry::RegisterTarget(TheSystemZTarget, "systemz",
"SystemZ",
- &SystemZ_TripleMatchQuality,
- &SystemZ_ModuleMatchQuality);
+ &SystemZ_TripleMatchQuality);
}