[llvm] 9ada761 - [PowerPC][NFC] rename file for PPCCTRLoopsVerify pass.
Chen Zheng via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 00:42:23 PDT 2022
Author: Chen Zheng
Date: 2022-03-21T03:42:14-04:00
New Revision: 9ada761be3b9cfafebb789fe844c399834b2a68c
URL: https://github.com/llvm/llvm-project/commit/9ada761be3b9cfafebb789fe844c399834b2a68c
DIFF: https://github.com/llvm/llvm-project/commit/9ada761be3b9cfafebb789fe844c399834b2a68c.diff
LOG: [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.
Added:
llvm/lib/Target/PowerPC/PPCCTRLoopsVerify.cpp
Modified:
llvm/lib/Target/PowerPC/CMakeLists.txt
llvm/lib/Target/PowerPC/PPC.h
Removed:
llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
################################################################################
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
More information about the llvm-commits
mailing list