diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-15 12:26:05 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-15 12:26:05 +0000 |
commit | d10106b39dd10904a4126f253609afd470fa063b (patch) | |
tree | 6e3df28150e17cf51770f295102f4533ecd75868 /lib/Target/XCore/XCoreTargetMachine.cpp | |
parent | 7d984d3a9c5e718d921836686247e85f0e0cb122 (diff) | |
download | external_llvm-d10106b39dd10904a4126f253609afd470fa063b.zip external_llvm-d10106b39dd10904a4126f253609afd470fa063b.tar.gz external_llvm-d10106b39dd10904a4126f253609afd470fa063b.tar.bz2 |
Kill off old (TargetMachine level, not Target level) match quality functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetMachine.cpp')
-rw-r--r-- | lib/Target/XCore/XCoreTargetMachine.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/XCore/XCoreTargetMachine.cpp b/lib/Target/XCore/XCoreTargetMachine.cpp index 46b0ec4..7fc8694 100644 --- a/lib/Target/XCore/XCoreTargetMachine.cpp +++ b/lib/Target/XCore/XCoreTargetMachine.cpp @@ -52,15 +52,6 @@ XCoreTargetMachine::XCoreTargetMachine(const Target &T, const Module &M, TLInfo(*this) { } -unsigned XCoreTargetMachine::getModuleMatchQuality(const Module &M) { - std::string TT = M.getTargetTriple(); - if (TT.size() >= 6 && std::string(TT.begin(), TT.begin()+6) == "xcore-") - return 20; - - // Otherwise we don't match. - return 0; -} - bool XCoreTargetMachine::addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel) { PM.add(createXCoreISelDag(*this)); |