Don't use nextIndex to check for live out of instruction.
commit9d6500955693196b238af7993d527312784f2456
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 5 Oct 2010 20:36:25 +0000 (5 20:36 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 5 Oct 2010 20:36:25 +0000 (5 20:36 +0000)
tree4f888fcd501203f05e1c46fb89982c268b7ea0ff
parent890329bcd12d88c6c0c33a18e84c194b93247572
Don't use nextIndex to check for live out of instruction.
Insert copy after defining instruction.

Fix LiveIntervalMap::extendTo to properly handle live segments starting before
the current basic block.

Make sure the open live range is extended to the inserted copy's use slot.

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