SystemZInstrInfo.cpp: Tweak an assertion. [-Wunused-variable]

llvm-svn: 185499
This commit is contained in:
NAKAMURA Takumi 2013-07-03 02:20:49 +00:00
parent dc42ea8fbd
commit ddcba56281
1 changed files with 2 additions and 2 deletions

View File

@ -350,8 +350,8 @@ SystemZInstrInfo::foldMemoryOperandImpl(MachineFunction &MF,
return 0;
unsigned OpNum = Ops[0];
unsigned Reg = MI->getOperand(OpNum).getReg();
assert(Size == MF.getRegInfo().getRegClass(Reg)->getSize() &&
assert(Size == MF.getRegInfo()
.getRegClass(MI->getOperand(OpNum).getReg())->getSize() &&
"Invalid size combination");
// Look for cases where the source of a simple store or the destination