[PATCH] D87838: [amdgpu] Compilation fix for Release

Bogdan Graur via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 08:58:08 PDT 2020


bgraur created this revision.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
Herald added a project: LLVM.
bgraur requested review of this revision.
Herald added a subscriber: wdng.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87838

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


Index: llvm/lib/Target/AMDGPU/SIISelLowering.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -11536,6 +11536,7 @@
       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();
     }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87838.292528.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200917/1e95ef29/attachment.bin>


More information about the llvm-commits mailing list