[amdgpu] Compilation fix for Release

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D87838
This commit is contained in:
Bogdan Graur 2020-09-17 18:04:21 +02:00 committed by Benjamin Kramer
parent c6ebe3fd00
commit 7d593d0d69
1 changed files with 1 additions and 0 deletions

View File

@ -11536,6 +11536,7 @@ static void lowerSGPRToVGPRCopy(MachineFunction &MF, MachineRegisterInfo &MRI,
auto DstReg = MI.getOperand(0).getReg();
auto MIB = BuildMI(MBB, MI, MI.getDebugLoc(), TII.get(Opcode), DstReg)
.add(MI.getOperand(1));
(void)MIB;
LLVM_DEBUG(dbgs() << " to: " << *MIB.getInstr());
MI.eraseFromParent();
}