[llvm] r272177 - [RegBankSelect] Silence an unused variable warning in release mode.
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 8 10:39:47 PDT 2016
Author: qcolombet
Date: Wed Jun 8 12:39:47 2016
New Revision: 272177
URL: http://llvm.org/viewvc/llvm-project?rev=272177&view=rev
Log:
[RegBankSelect] Silence an unused variable warning in release mode.
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp?rev=272177&r1=272176&r2=272177&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp Wed Jun 8 12:39:47 2016
@@ -484,6 +484,7 @@ void RegBankSelect::applyMapping(
const RegisterBankInfo::ValueMapping &ValMapping =
InstrMapping.getOperandMapping(OpIdx);
unsigned BreakDownSize = ValMapping.BreakDown.size();
+ (void)BreakDownSize;
unsigned Reg = MO.getReg();
switch (RepairPt.getKind()) {
More information about the llvm-commits
mailing list