diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-15 06:09:08 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-15 06:09:08 +0000 |
commit | 1e03ff42433afe3a9ffad2765b537f10db3aa921 (patch) | |
tree | bbd694c24cc292cecf29a0b69c4af72795996569 /lib/CodeGen/RegAllocLinearScan.cpp | |
parent | 54b78dca4e98f15e1723368fabda6cdf81f73956 (diff) |
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
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
0 files changed, 0 insertions, 0 deletions