Move stack slot assignments into LiveRangeEdit.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 15 Oct 2010 00:16:55 +0000 (00:16 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 15 Oct 2010 00:16:55 +0000 (00:16 +0000)
commit2a0180fbff4870995482d96986ad780ab9de8af4
treebdc45da8da7bd2b28082cb5d0f1e6b564e417bcd
parenta17768f5822ab62bc18608e5ba473187bf726b84
Move stack slot assignments into LiveRangeEdit.

All registers created during splitting or spilling are assigned to the same
stack slot as the parent register.

When splitting or rematting, we may not spill at all. In that case the stack
slot is still assigned, but it will be dead.

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