From: Chen Zheng Date: Mon, 21 Mar 2022 07:38:46 +0000 (-0400) Subject: [PowerPC][NFC] rename file for PPCCTRLoopsVerify pass. X-Git-Tag: upstream/15.0.7~12970 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ada761be3b9cfafebb789fe844c399834b2a68c;p=platform%2Fupstream%2Fllvm.git [PowerPC][NFC] rename file for PPCCTRLoopsVerify pass. Rename file for PPCCTRLoopsVerify pass from PPCCTRLoops.cpp to PPCCTRLoopsVerify.cpp. There will be a new file PPCCTRLoops.cpp for PPC CTR loops generation later. --- diff --git a/llvm/lib/Target/PowerPC/CMakeLists.txt b/llvm/lib/Target/PowerPC/CMakeLists.txt index b74a8bc..02dc246 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 acb4e1a..cc7af54 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