[llvm] r303122 - [AMDGPU] Kill now unused phiInfoElementGetDebugLoc(). NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 15:10:15 PDT 2017
Author: davide
Date: Mon May 15 17:10:15 2017
New Revision: 303122
URL: http://llvm.org/viewvc/llvm-project?rev=303122&view=rev
Log:
[AMDGPU] Kill now unused phiInfoElementGetDebugLoc(). NFCI.
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp?rev=303122&r1=303121&r2=303122&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp Mon May 15 17:10:15 2017
@@ -58,7 +58,6 @@ private:
static unsigned phiInfoElementGetDest(PHIInfoElementT *Info);
static void phiInfoElementSetDef(PHIInfoElementT *Info, unsigned NewDef);
- static DebugLoc phiInfoElementGetDebugLoc(PHIInfoElementT *Info);
static PHISourcesT &phiInfoElementGetSources(PHIInfoElementT *Info);
static void phiInfoElementAddSource(PHIInfoElementT *Info, unsigned SourceReg,
MachineBasicBlock *SourceMBB);
@@ -125,10 +124,6 @@ void PHILinearize::phiInfoElementSetDef(
Info->DestReg = NewDef;
}
-DebugLoc PHILinearize::phiInfoElementGetDebugLoc(PHIInfoElementT *Info) {
- return Info->DL;
-}
-
PHILinearize::PHISourcesT &
PHILinearize::phiInfoElementGetSources(PHIInfoElementT *Info) {
return Info->Sources;
More information about the llvm-commits
mailing list