Remove unused 'isAlias' parameter.
llvm-svn: 150224
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index b305fc2..446dc65 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -455,7 +455,7 @@
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 @@
// 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);