mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
SystemZ: Fold variable into assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185475 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
540579eb26
commit
24dd7dbe7f
@ -351,8 +351,8 @@ SystemZInstrInfo::foldMemoryOperandImpl(MachineFunction &MF,
|
||||
|
||||
unsigned OpNum = Ops[0];
|
||||
unsigned Reg = MI->getOperand(OpNum).getReg();
|
||||
unsigned RegSize = MF.getRegInfo().getRegClass(Reg)->getSize();
|
||||
assert(Size == RegSize && "Invalid size combination");
|
||||
assert(Size == MF.getRegInfo().getRegClass(Reg)->getSize() &&
|
||||
"Invalid size combination");
|
||||
|
||||
// Look for cases where the source of a simple store or the destination
|
||||
// of a simple load is being spilled. Try to use MVC instead.
|
||||
|
Loading…
Reference in New Issue
Block a user