OSDN Git Service

Calculate liveness on the fly for local registers.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 15 May 2010 06:09:08 +0000 (06:09 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 15 May 2010 06:09:08 +0000 (06:09 +0000)
commit1e03ff42433afe3a9ffad2765b537f10db3aa921
treebbd694c24cc292cecf29a0b69c4af72795996569
parent54b78dca4e98f15e1723368fabda6cdf81f73956
Calculate liveness on the fly for local registers.

When working top-down in a basic block, substituting physregs for virtregs, the use-def chains are kept up to date. That means we can recognize a virtreg kill by the use-def chain becoming empty.

This makes the fast allocator independent of incoming kill flags.

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