Remove the only use of SlotIndex::isPHI. This bit is not being set consistently
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 25 Sep 2010 00:45:15 +0000 (00:45 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 25 Sep 2010 00:45:15 +0000 (00:45 +0000)
and it will be removed shortly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114778 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/Spiller.cpp

index 59d5ab33c994f6e69c2441d3407402aa2a5ad2dc..40bb386c3441a0c76cad4fbc53bb1e4ace074940 100644 (file)
@@ -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);