diff options
Diffstat (limited to 'lib/CodeGen/Spiller.cpp')
-rw-r--r-- | lib/CodeGen/Spiller.cpp | 2 |
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); |