diff --git a/llvm/lib/Target/PowerPC/CMakeLists.txt b/llvm/lib/Target/PowerPC/CMakeLists.txt index b74a8bcd9a908..02dc2465bca37 100644 --- a/llvm/lib/Target/PowerPC/CMakeLists.txt +++ b/llvm/lib/Target/PowerPC/CMakeLists.txt @@ -26,7 +26,7 @@ add_llvm_target(PowerPCCodeGen PPCBranchCoalescing.cpp PPCCallingConv.cpp PPCCCState.cpp - PPCCTRLoops.cpp + PPCCTRLoopsVerify.cpp PPCExpandAtomicPseudoInsts.cpp PPCHazardRecognizers.cpp PPCInstrInfo.cpp diff --git a/llvm/lib/Target/PowerPC/PPC.h b/llvm/lib/Target/PowerPC/PPC.h index acb4e1a5d9756..cc7af54a40b23 100644 --- a/llvm/lib/Target/PowerPC/PPC.h +++ b/llvm/lib/Target/PowerPC/PPC.h @@ -33,7 +33,6 @@ class MCInst; class MCOperand; class ModulePass; -FunctionPass *createPPCCTRLoops(); #ifndef NDEBUG FunctionPass *createPPCCTRLoopsVerify(); #endif @@ -58,7 +57,6 @@ FunctionPass *createPPCCTRLoops(); bool LowerPPCMachineOperandToMCOperand(const MachineOperand &MO, MCOperand &OutMO, AsmPrinter &AP); - void initializePPCCTRLoopsPass(PassRegistry&); #ifndef NDEBUG void initializePPCCTRLoopsVerifyPass(PassRegistry&); #endif diff --git a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp b/llvm/lib/Target/PowerPC/PPCCTRLoopsVerify.cpp similarity index 100% rename from llvm/lib/Target/PowerPC/PPCCTRLoops.cpp rename to llvm/lib/Target/PowerPC/PPCCTRLoopsVerify.cpp