summaryrefslogtreecommitdiff
path: root/lib/CodeGen/Spiller.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-25 00:45:15 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-25 00:45:15 +0000
commit7c78e2624c4548ccf1bcfdbc2efaae401ec7f83e (patch)
tree6d044bb210a6b1f991f4242204ae00a99241d72d /lib/CodeGen/Spiller.cpp
parent1803b37bad85cca19a15c0040979719240f48626 (diff)
downloadllvm-7c78e2624c4548ccf1bcfdbc2efaae401ec7f83e.tar.gz
llvm-7c78e2624c4548ccf1bcfdbc2efaae401ec7f83e.tar.bz2
llvm-7c78e2624c4548ccf1bcfdbc2efaae401ec7f83e.tar.xz
Remove the only use of SlotIndex::isPHI. This bit is not being set consistently
and it will be removed shortly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.cpp')
-rw-r--r--lib/CodeGen/Spiller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/Spiller.cpp b/lib/CodeGen/Spiller.cpp
index 59d5ab33c9..40bb386c34 100644
--- a/lib/CodeGen/Spiller.cpp
+++ b/lib/CodeGen/Spiller.cpp
@@ -458,7 +458,7 @@ private:
// Iterate over any PHI kills - we'll need to insert new copies for them.
for (LiveInterval::iterator LRI = newLI->begin(), LRE = newLI->end();
LRI != LRE; ++LRI) {
- if (LRI->valno != newVNI || LRI->end.isPHI())
+ if (LRI->valno != newVNI)
continue;
SlotIndex killIdx = LRI->end;
MachineBasicBlock *killMBB = lis->getMBBFromIndex(killIdx);