[llvm-commits] [llvm] r114778 - /llvm/trunk/lib/CodeGen/Spiller.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Sep 24 17:45:15 PDT 2010
Author: stoklund
Date: Fri Sep 24 19:45:15 2010
New Revision: 114778
URL: http://llvm.org/viewvc/llvm-project?rev=114778&view=rev
Log:
Remove the only use of SlotIndex::isPHI. This bit is not being set consistently
and it will be removed shortly.
Modified:
llvm/trunk/lib/CodeGen/Spiller.cpp
Modified: llvm/trunk/lib/CodeGen/Spiller.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/Spiller.cpp?rev=114778&r1=114777&r2=114778&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/Spiller.cpp (original)
+++ llvm/trunk/lib/CodeGen/Spiller.cpp Fri Sep 24 19:45:15 2010
@@ -458,7 +458,7 @@
// 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);
More information about the llvm-commits
mailing list