mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
f53d643bd9
commit
985148ea87
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user