summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-02-10 03:19:36 +0000
committerLang Hames <lhames@gmail.com>2012-02-10 03:19:36 +0000
commit351fc56ab00526590712a5a5b33f0e4981e375cf (patch)
tree1357339dc8835c9fc426f2750ae42276ab4de366 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent6eb25628c5e52116b7317cc6edadd0be53e30b8f (diff)
downloadbcm5719-llvm-351fc56ab00526590712a5a5b33f0e4981e375cf.tar.gz
bcm5719-llvm-351fc56ab00526590712a5a5b33f0e4981e375cf.zip
Remove unused 'isAlias' parameter.
llvm-svn: 150224
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index b305fc2ab17..446dc652b90 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -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);
OpenPOWER on IntegriCloud