[llvm] r339847 - [mips] Remove dead code from MipsPassConfig
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 16 01:43:17 PDT 2018
Author: atanasyan
Date: Thu Aug 16 01:43:17 2018
New Revision: 339847
URL: http://llvm.org/viewvc/llvm-project?rev=339847&view=rev
Log:
[mips] Remove dead code from MipsPassConfig
Found by GCC's -Wunused-function.
Patch by Kim Gräsman.
Differential revision: https://reviews.llvm.org/D50612
Modified:
llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp?rev=339847&r1=339846&r2=339847&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsTargetMachine.cpp Thu Aug 16 01:43:17 2018
@@ -240,7 +240,6 @@ public:
bool addInstSelector() override;
void addPreEmitPass() override;
void addPreRegAlloc() override;
- void addPreEmit2() ;
bool addIRTranslator() override;
bool addLegalizeMachineIR() override;
bool addRegBankSelect() override;
@@ -286,9 +285,6 @@ MipsTargetMachine::getTargetTransformInf
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.
More information about the llvm-commits
mailing list