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 | 6c05796294a7a0693d96c0c87194b9d5ddf55a94 (patch) | |
tree | 6e3df28150e17cf51770f295102f4533ecd75868 /lib/Target/MSP430 | |
parent | baaf1178e94d8e70736c2c0266433633392d4507 (diff) | |
download | external_llvm-6c05796294a7a0693d96c0c87194b9d5ddf55a94.zip external_llvm-6c05796294a7a0693d96c0c87194b9d5ddf55a94.tar.gz external_llvm-6c05796294a7a0693d96c0c87194b9d5ddf55a94.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/MSP430')
-rw-r--r-- | lib/Target/MSP430/MSP430TargetMachine.cpp | 11 | ||||
-rw-r--r-- | lib/Target/MSP430/MSP430TargetMachine.h | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/MSP430/MSP430TargetMachine.cpp b/lib/Target/MSP430/MSP430TargetMachine.cpp index 2c8bfc7..bf259e2 100644 --- a/lib/Target/MSP430/MSP430TargetMachine.cpp +++ b/lib/Target/MSP430/MSP430TargetMachine.cpp @@ -69,14 +69,3 @@ bool MSP430TargetMachine::addAssemblyEmitter(PassManagerBase &PM, return false; } -unsigned MSP430TargetMachine::getModuleMatchQuality(const Module &M) { - std::string TT = M.getTargetTriple(); - - // We strongly match msp430 - if (TT.size() >= 6 && TT[0] == 'm' && TT[1] == 's' && TT[2] == 'p' && - TT[3] == '4' && TT[4] == '3' && TT[5] == '0') - return 20; - - return 0; -} - diff --git a/lib/Target/MSP430/MSP430TargetMachine.h b/lib/Target/MSP430/MSP430TargetMachine.h index fa5ef66..dfe827b 100644 --- a/lib/Target/MSP430/MSP430TargetMachine.h +++ b/lib/Target/MSP430/MSP430TargetMachine.h @@ -60,7 +60,6 @@ public: virtual bool addAssemblyEmitter(PassManagerBase &PM, CodeGenOpt::Level OptLevel, bool Verbose, formatted_raw_ostream &Out); - static unsigned getModuleMatchQuality(const Module &M); }; // MSP430TargetMachine. } // end namespace llvm |