From: Rafael Espindola Date: Wed, 22 May 2013 01:29:38 +0000 (+0000) Subject: Fix warning in non-assert build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=de2b854310f0a359224bfcb0fc7e4ed6339d60ec;p=oota-llvm.git Fix warning in non-assert build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182443 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/R600/R600ExpandSpecialInstrs.cpp b/lib/Target/R600/R600ExpandSpecialInstrs.cpp index a1919305111..b9d5303ce1a 100644 --- a/lib/Target/R600/R600ExpandSpecialInstrs.cpp +++ b/lib/Target/R600/R600ExpandSpecialInstrs.cpp @@ -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();