mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
More cleanups for MachineOperand:
- Eliminate the static "print" method for operands, moving it into MachineOperand::print. - Change various set* methods for register flags to take a bool for the value to set it to. Remove unset* methods. - Group methods more logically by operand flavor in MachineOperand.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45461 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1213,7 +1213,7 @@ addIntervalsForSpills(const LiveInterval &li,
|
||||
assert(KillMI && "Last use disappeared?");
|
||||
int KillOp = KillMI->findRegisterUseOperandIdx(li.reg, true);
|
||||
assert(KillOp != -1 && "Last use disappeared?");
|
||||
KillMI->getOperand(KillOp).unsetIsKill();
|
||||
KillMI->getOperand(KillOp).setIsKill(false);
|
||||
}
|
||||
vrm.removeKillPoint(li.reg);
|
||||
bool DefIsReMat = vrm.isReMaterialized(li.reg);
|
||||
|
Reference in New Issue
Block a user