Fix a bug in the local allocator's liveness computation where it
authorDan Gohman <gohman@apple.com>
Sat, 4 Oct 2008 00:31:14 +0000 (00:31 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 4 Oct 2008 00:31:14 +0000 (00:31 +0000)
commit022b21ff7c047f8c1615a6588052c55427bcd9b0
tree26da2035d0b767936c607a58c261ee6d5a4cdead
parent880ae364ba4ed3d63542a2ef934980c70e8bb9d7
Fix a bug in the local allocator's liveness computation where it
was setting kill flags on tied uses in two-address instructions.
The kill flags were causing the allocator to think it could
allocate the use and its tied def in different registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57039 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp
test/CodeGen/X86/local-liveness.ll [new file with mode: 0644]