diff --git a/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp b/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp index 442f86e3358..ab8b137aa1b 100644 --- a/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp +++ b/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp @@ -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(PHIInfoElementT *Info, Info->DestReg = NewDef; } -DebugLoc PHILinearize::phiInfoElementGetDebugLoc(PHIInfoElementT *Info) { - return Info->DL; -} - PHILinearize::PHISourcesT & PHILinearize::phiInfoElementGetSources(PHIInfoElementT *Info) { return Info->Sources;