diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-26 02:22:58 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-26 02:22:58 +0000 |
commit | bfa8b2c02c927c58f8a0a4b1ff8c04d7eb747069 (patch) | |
tree | 2a8122cc81a121aaf66245f276761d12dd92bca0 /lib/Target/SystemZ | |
parent | 48224ee5385b03a49ecf34a7c9e3ab73fe32cdb3 (diff) | |
download | external_llvm-bfa8b2c02c927c58f8a0a4b1ff8c04d7eb747069.zip external_llvm-bfa8b2c02c927c58f8a0a4b1ff8c04d7eb747069.tar.gz external_llvm-bfa8b2c02c927c58f8a0a4b1ff8c04d7eb747069.tar.bz2 |
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')
-rw-r--r-- | lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp b/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp index 49c8e19..e063a91 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); } |