Create two BlockInfo entries when a live range is discontinuous through a block.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 28 May 2011 02:33:00 +0000 (02:33 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 28 May 2011 02:33:00 +0000 (02:33 +0000)
commitc9cf9e94ec4daca659e2eb4e30d3f7d7f9b6b067
tree354788c07acff3504cfe0bd1415e7f5f4742c124
parentb2abfa0bf30edf292a27a06e091d03983e644c9b
Create two BlockInfo entries when a live range is discontinuous through a block.

Delete the Kill and Def markers in BlockInfo. They are no longer
necessary when BlockInfo describes a continuous live range.

This only affects the relatively rare kind of basic block where a live
range looks like this:

 |---x   o---|

Now live range splitting can pretend that it is looking at two blocks:

 |---x
         o---|

This allows the code to be simplified a bit.

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