Fix PHI handling in LiveIntervals::shrinkToUses().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 3 Mar 2011 00:20:51 +0000 (00:20 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 3 Mar 2011 00:20:51 +0000 (00:20 +0000)
commitc29d9b3495a2d87af524ad5c4b62f46c4265d828
treeee2282903de441de2f49496ac1334abac26e43b7
parent44456e86c866d51871fb77dffcbe55054f6e049c
Fix PHI handling in LiveIntervals::shrinkToUses().

We need to wait until we meet a PHIDef in its defining block before resurrecting
PHIKills in the predecessors.

This should unbreak the llvm-gcc-build-x86_64-darwin10-x-mingw32-x-armeabi bot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126905 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp