diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-22 01:29:38 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-05-22 01:29:38 +0000 |
commit | f568827654002f1b4fa7950d9c9d91b6df52eadc (patch) | |
tree | 91035eb1b46d641d7f4838b654cbd64f1ffde2d1 /llvm/lib/Target/R600/R600ExpandSpecialInstrs.cpp | |
parent | f6474d283452a00a6f1b309c2b2099688f12e0b1 (diff) | |
download | bcm5719-llvm-f568827654002f1b4fa7950d9c9d91b6df52eadc.tar.gz bcm5719-llvm-f568827654002f1b4fa7950d9c9d91b6df52eadc.zip |
Fix warning in non-assert build.
llvm-svn: 182443
Diffstat (limited to 'llvm/lib/Target/R600/R600ExpandSpecialInstrs.cpp')
-rw-r--r-- | llvm/lib/Target/R600/R600ExpandSpecialInstrs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/R600ExpandSpecialInstrs.cpp b/llvm/lib/Target/R600/R600ExpandSpecialInstrs.cpp index a1919305111..b9d5303ce1a 100644 --- a/llvm/lib/Target/R600/R600ExpandSpecialInstrs.cpp +++ b/llvm/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(); |