mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 07:32:13 +00:00
80 column
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae64eedae2
commit
57cb4f8be1
@ -460,7 +460,7 @@ public:
|
||||
/// blocks each of which is a successor of the specified BB and has no other
|
||||
/// predecessor.
|
||||
static void findSinglePredSuccessor(MachineBasicBlock *MBB,
|
||||
SmallVectorImpl<MachineBasicBlock *> &Succs) {
|
||||
SmallVectorImpl<MachineBasicBlock *> &Succs){
|
||||
for (MachineBasicBlock::succ_iterator SI = MBB->succ_begin(),
|
||||
SE = MBB->succ_end(); SI != SE; ++SI) {
|
||||
MachineBasicBlock *SuccMBB = *SI;
|
||||
@ -852,8 +852,8 @@ unsigned ReuseInfo::GetRegForReload(const TargetRegisterClass *RC,
|
||||
// Yup, use the reload register that we didn't use before.
|
||||
unsigned NewReg = Op.AssignedPhysReg;
|
||||
Rejected.insert(PhysReg);
|
||||
return GetRegForReload(RC, NewReg, MF, MI, Spills, MaybeDeadStores, Rejected,
|
||||
RegKills, KillOps, VRM);
|
||||
return GetRegForReload(RC, NewReg, MF, MI, Spills, MaybeDeadStores,
|
||||
Rejected, RegKills, KillOps, VRM);
|
||||
} else {
|
||||
// Otherwise, we might also have a problem if a previously reused
|
||||
// value aliases the new register. If so, codegen the previous reload
|
||||
@ -2302,7 +2302,7 @@ LocalRewriter::RewriteMBB(LiveIntervals *LIs,
|
||||
unsigned PhysReg = Spills.getSpillSlotOrReMatPhysReg(SS);
|
||||
SmallVector<MachineInstr*, 4> NewMIs;
|
||||
if (PhysReg &&
|
||||
TII->unfoldMemoryOperand(MF, &MI, PhysReg, false, false, NewMIs)) {
|
||||
TII->unfoldMemoryOperand(MF, &MI, PhysReg, false, false, NewMIs)){
|
||||
MBB->insert(MII, NewMIs[0]);
|
||||
InvalidateKills(MI, TRI, RegKills, KillOps);
|
||||
VRM->RemoveMachineInstrFromMaps(&MI);
|
||||
|
Loading…
x
Reference in New Issue
Block a user