From de2b854310f0a359224bfcb0fc7e4ed6339d60ec Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 22 May 2013 01:29:38 +0000 Subject: [PATCH] Fix warning in non-assert build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182443 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/R600ExpandSpecialInstrs.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.34.1