summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-25 00:45:18 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-25 00:45:18 +0000
commitbc71af341eacca7b108ae795d2b6f7b297927218 (patch)
treea8a457d272af01bb5f235dfc9491920aa0357640 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent250fed25fd1a26b3d1bcbb576d52042a034db162 (diff)
downloadbcm5719-llvm-bc71af341eacca7b108ae795d2b6f7b297927218.tar.gz
bcm5719-llvm-bc71af341eacca7b108ae795d2b6f7b297927218.zip
Remove SlotIndex::PHI_BIT. It is no longer used by anything.
llvm-svn: 114779
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 2726fc33753..d30596a8173 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -393,8 +393,7 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
// Create interval with one of a NEW value number. Note that this value
// number isn't actually defined by an instruction, weird huh? :)
if (PHIJoin) {
- ValNo = interval.getNextValue(SlotIndex(Start, true), 0, false,
- VNInfoAllocator);
+ ValNo = interval.getNextValue(Start, 0, false, VNInfoAllocator);
ValNo->setIsPHIDef(true);
}
LiveRange LR(Start, killIdx, ValNo);
@@ -673,8 +672,7 @@ void LiveIntervals::handleLiveInRegister(MachineBasicBlock *MBB,
}
VNInfo *vni =
- interval.getNextValue(SlotIndex(getMBBStartIdx(MBB), true),
- 0, false, VNInfoAllocator);
+ interval.getNextValue(getMBBStartIdx(MBB), 0, false, VNInfoAllocator);
vni->setIsPHIDef(true);
LiveRange LR(start, end, vni);
OpenPOWER on IntegriCloud