mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-08 19:36:02 +00:00
Remove unused 'isAlias' parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e009860049
commit
4465b6f6b2
@ -355,7 +355,7 @@ namespace llvm {
|
||||
/// handleLiveInRegister - Create interval for a livein register.
|
||||
void handleLiveInRegister(MachineBasicBlock* mbb,
|
||||
SlotIndex MIIdx,
|
||||
LiveInterval &interval, bool isAlias = false);
|
||||
LiveInterval &interval);
|
||||
|
||||
/// getReMatImplicitUse - If the remat definition MI has one (for now, we
|
||||
/// only allow one) virtual register operand, then its uses are implicitly
|
||||
|
@ -455,7 +455,7 @@ void LiveIntervals::handleRegisterDef(MachineBasicBlock *MBB,
|
||||
|
||||
void LiveIntervals::handleLiveInRegister(MachineBasicBlock *MBB,
|
||||
SlotIndex MIIdx,
|
||||
LiveInterval &interval, bool isAlias) {
|
||||
LiveInterval &interval) {
|
||||
DEBUG(dbgs() << "\t\tlivein register: " << PrintReg(interval.reg, tri_));
|
||||
|
||||
// Look for kills, if it reaches a def before it's killed, then it shouldn't
|
||||
@ -505,13 +505,8 @@ void LiveIntervals::handleLiveInRegister(MachineBasicBlock *MBB,
|
||||
|
||||
// Live-in register might not be used at all.
|
||||
if (!SeenDefUse) {
|
||||
if (isAlias) {
|
||||
DEBUG(dbgs() << " dead");
|
||||
end = MIIdx.getDeadSlot();
|
||||
} else {
|
||||
DEBUG(dbgs() << " live through");
|
||||
end = getMBBEndIdx(MBB);
|
||||
}
|
||||
DEBUG(dbgs() << " live through");
|
||||
end = getMBBEndIdx(MBB);
|
||||
}
|
||||
|
||||
SlotIndex defIdx = getMBBStartIdx(MBB);
|
||||
|
Loading…
x
Reference in New Issue
Block a user