forked from OSchip/llvm-project
AMDGPU: Use correct DebugLoc
This commit is contained in:
parent
869d17d851
commit
a37e958558
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue