Add LiveIntervals::getLastSplitPoint().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Feb 2011 19:33:11 +0000 (19:33 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Feb 2011 19:33:11 +0000 (19:33 +0000)
commitcb6404711b7fe6f583480adce8d7e9d5e4b99ae6
tree29716725af4a8e0da2d14822dd1a6e572b63278a
parent9b3d24bf3d4663bfaf98eb97a94081e07a3f62da
Add LiveIntervals::getLastSplitPoint().

A live range cannot be split everywhere in a basic block. A split must go before
the first terminator, and if the variable is live into a landing pad, the split
must happen before the call that can throw.

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