AMDGPU: Use correct DebugLoc

This commit is contained in:
Matt Arsenault 2019-12-27 08:28:30 -05:00 committed by Matt Arsenault
parent 869d17d851
commit a37e958558
1 changed files with 1 additions and 1 deletions

View File

@ -6580,7 +6580,7 @@ MachineInstr *SIInstrInfo::createPHISourceCopy(
InsPt->getOpcode() == AMDGPU::SI_IF_BREAK) && InsPt->getOpcode() == AMDGPU::SI_IF_BREAK) &&
InsPt->definesRegister(Src)) { InsPt->definesRegister(Src)) {
InsPt++; InsPt++;
return BuildMI(MBB, InsPt, InsPt->getDebugLoc(), return BuildMI(MBB, InsPt, DL,
get(ST.isWave32() ? AMDGPU::S_MOV_B32_term get(ST.isWave32() ? AMDGPU::S_MOV_B32_term
: AMDGPU::S_MOV_B64_term), : AMDGPU::S_MOV_B64_term),
Dst) Dst)