]> granicus.if.org Git - llvm/commit
Fix coloring bug when mapping values in the middle of a live-through block.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 3 Feb 2011 20:29:36 +0000 (20:29 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 3 Feb 2011 20:29:36 +0000 (20:29 +0000)
commit08eb8dd616bb4d4213f2ebda1de56b45bb88b6d9
tree07ff3be3b0cfe134efde07608eef49a72c247164
parent207c868c9210663d401b7f5ce5cae7c3e0943849
Fix coloring bug when mapping values in the middle of a live-through block.

If the found value is not live-through the block, we should only add liveness up
to the requested slot index. When the value is live-through, the whole block
should be colored.

Bug found by SSA verification in the machine code verifier.

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