[llvm] 7d593d0 - [amdgpu] Compilation fix for Release

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 09:05:05 PDT 2020


Author: Bogdan Graur
Date: 2020-09-17T18:04:53+02:00
New Revision: 7d593d0d6905b55ca1124fca5e4d1ebb17203138

URL: https://github.com/llvm/llvm-project/commit/7d593d0d6905b55ca1124fca5e4d1ebb17203138
DIFF: https://github.com/llvm/llvm-project/commit/7d593d0d6905b55ca1124fca5e4d1ebb17203138.diff

LOG: [amdgpu] Compilation fix for Release

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D87838

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index b446ac3af9b1..aa90f537396e 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();
     }


        


More information about the llvm-commits mailing list