From: Bogdan Graur Date: Thu, 17 Sep 2020 16:04:21 +0000 (+0200) Subject: [amdgpu] Compilation fix for Release X-Git-Tag: llvmorg-13-init~11710 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d593d0d6905b55ca1124fca5e4d1ebb17203138;p=platform%2Fupstream%2Fllvm.git [amdgpu] Compilation fix for Release Reviewed By: bkramer Differential Revision: https://reviews.llvm.org/D87838 --- diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp index b446ac3..aa90f53 100644 --- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp +++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp @@ -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(); }