Fix warning in non-assert build.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 22 May 2013 01:29:38 +0000 (01:29 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 22 May 2013 01:29:38 +0000 (01:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182443 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/R600ExpandSpecialInstrs.cpp

index a1919305111ba625d9c1960344547e0212bed715..b9d5303ce1a19315e542bcbeb93cfbd831d5e122 100644 (file)
@@ -212,6 +212,8 @@ bool R600ExpandSpecialInstrsPass::runOnMachineFunction(MachineFunction &MF) {
           unsigned Src1 = BMI->getOperand(
               TII->getOperandIdx(Opcode, R600Operands::SRC1))
               .getReg();
+          (void) Src0;
+          (void) Src1;
           assert(TRI.getHWRegChan(Src0) == TRI.getHWRegChan(Src1));
         }
         MI.eraseFromParent();