Rename live range stages to better reflect how they are used.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 25 Jul 2011 15:25:41 +0000 (15:25 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 25 Jul 2011 15:25:41 +0000 (15:25 +0000)
commitfa89a0344bba7a0ae87d3de204d18bb1ecaa5955
treeca5f1562201dc062f820aefcbc581eb42551cafb
parent2eb40f6d86ab44e7e642ea665afb28604008d367
Rename live range stages to better reflect how they are used.

The stage is used to control where a live range is going, not where it
is coming from. Live ranges created by splitting will usually be marked
RS_New, but some are marked RS_Spill to avoid wasting time trying to
split them again.

The old RS_Global and RS_Local stages are merged - they are really the
same thing for local and global live ranges.

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