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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185499 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2013-07-03 02:20:49 +00:00
parent f53d643bd9
commit 985148ea87

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