Switch extendInBlock() to take a kill slot instead of the last use slot.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 13 Sep 2011 16:47:56 +0000 (16:47 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 13 Sep 2011 16:47:56 +0000 (16:47 +0000)
commitee5655dca467d3812145a2f965c31edf4875c93e
treeb0add16964b529f5c8b9f66365defa013d3d8152
parentc1c622ef0dd29d1bafd580790aec5231af50abf2
Switch extendInBlock() to take a kill slot instead of the last use slot.

Three out of four clients prefer this interface which is consistent with
extendIntervalEndTo() and LiveRangeCalc::extend().

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