SplitKit requires that all defs are in place before calling useIntv().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 20 Jan 2011 17:45:23 +0000 (17:45 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 20 Jan 2011 17:45:23 +0000 (17:45 +0000)
commitc0de99571297720a37ae405c77fb2ef4aaf00ccd
tree3b0761ead5067e91d6f159da61fca837c182c8e5
parentd7ca57705e7ccc19245b8b3d6fc271562366bf92
SplitKit requires that all defs are in place before calling useIntv().

The value mapping gets confused about which original values have multiple new
definitions so they may need phi insertions.

This could probably be simplified by letting enterIntvBefore() take a live range
to be added following the instruction. As long as the range stays inside the
same basic block, value mapping shouldn't be a problem.

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