Skip to content

Commit

Permalink
[mips] Remove dead code from MipsPassConfig
Browse files Browse the repository at this point in the history
Found by GCC's -Wunused-function.

Patch by Kim Gräsman.

Differential revision: https://reviews.llvm.org/D50612

llvm-svn: 339847
  • Loading branch information
atanasyan committed Aug 16, 2018
1 parent 72d7d64 commit a8ac430
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/Target/Mips/MipsTargetMachine.cpp
Expand Up @@ -240,7 +240,6 @@ class MipsPassConfig : public TargetPassConfig {
bool addInstSelector() override;
void addPreEmitPass() override;
void addPreRegAlloc() override;
void addPreEmit2() ;
bool addIRTranslator() override;
bool addLegalizeMachineIR() override;
bool addRegBankSelect() override;
Expand Down Expand Up @@ -286,9 +285,6 @@ MipsTargetMachine::getTargetTransformInfo(const Function &F) {
return TargetTransformInfo(BasicTTIImpl(this, F));
}

void MipsPassConfig::addPreEmit2() {
}

// Implemented by targets that want to run passes immediately before
// machine code is emitted. return true if -print-machineinstrs should
// print out the code after the passes.
Expand Down

0 comments on commit a8ac430

Please sign in to comment.