diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-25 00:45:15 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-09-25 00:45:15 +0000 |
commit | 250fed25fd1a26b3d1bcbb576d52042a034db162 (patch) | |
tree | 0b4c724812a9f804fde3dbb094be996dd6625dc5 /llvm/lib/CodeGen | |
parent | 384b0dec68ba0ed0581583ce50ebb889c719b0b4 (diff) | |
download | bcm5719-llvm-250fed25fd1a26b3d1bcbb576d52042a034db162.tar.gz bcm5719-llvm-250fed25fd1a26b3d1bcbb576d52042a034db162.zip |
Remove the only use of SlotIndex::isPHI. This bit is not being set consistently
and it will be removed shortly.
llvm-svn: 114778
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/Spiller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Spiller.cpp b/llvm/lib/CodeGen/Spiller.cpp index 59d5ab33c99..40bb386c344 100644 --- a/llvm/lib/CodeGen/Spiller.cpp +++ b/llvm/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); |