diff options
Diffstat (limited to 'lib/Target/SystemZ/TargetInfo')
-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); } |