mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-04 18:24:38 +00:00
Wrap at 80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -490,7 +490,8 @@ void RA::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
|||||||
// Loop over all of the operands of the instruction, spilling registers that
|
// Loop over all of the operands of the instruction, spilling registers that
|
||||||
// are defined, and marking explicit destinations in the PhysRegsUsed map.
|
// are defined, and marking explicit destinations in the PhysRegsUsed map.
|
||||||
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i)
|
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i)
|
||||||
if ((MI->getOperand(i).opIsDefOnly() || MI->getOperand(i).opIsDefAndUse()) &&
|
if ((MI->getOperand(i).opIsDefOnly() ||
|
||||||
|
MI->getOperand(i).opIsDefAndUse()) &&
|
||||||
MI->getOperand(i).isPhysicalRegister()) {
|
MI->getOperand(i).isPhysicalRegister()) {
|
||||||
unsigned Reg = MI->getOperand(i).getAllocatedRegNum();
|
unsigned Reg = MI->getOperand(i).getAllocatedRegNum();
|
||||||
spillPhysReg(MBB, I, Reg); // Spill any existing value in the reg
|
spillPhysReg(MBB, I, Reg); // Spill any existing value in the reg
|
||||||
|
Reference in New Issue
Block a user