Run LiveVariables instead of computing liveness locally in -regalloc=fast.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 21 Apr 2010 23:18:07 +0000 (23:18 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 21 Apr 2010 23:18:07 +0000 (23:18 +0000)
commita063e19593800142afaef5389f35605da901b805
tree4733fef61d6112c827f6bb718afd30f032d9281e
parente3dd8550c6c65d02b067ec96ac12a560dabd4452
Run LiveVariables instead of computing liveness locally in -regalloc=fast.

This actually makes everything slower, but the plan is to have isel add <kill>
flags the way it is already adding <dead> flags. Then LiveVariables can be
removed again.

When ignoring the time spent in LiveVariables, -regalloc=fast is now twice as
fast as -regalloc=local.

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