Analyze blocks with uses separately from live-through blocks without uses.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 6 Apr 2011 03:57:00 +0000 (03:57 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 6 Apr 2011 03:57:00 +0000 (03:57 +0000)
commitdb529a8a5d071610f3a8b467693bc40b073e68ef
tree6015bdec65b29b3a63176e18ac2838e0079b3bc3
parent6a1220eeca1f3511bcf6ffed43a9ae77624eb8a8
Analyze blocks with uses separately from live-through blocks without uses.

About 90% of the relevant blocks are live-through without uses, and the only
information required about them is their number. This saves memory and enables
later optimizations that need to look at only the use-blocks.

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