Rewrite LiveVariable liveness computation. The new implementation is much simplified...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 16 Apr 2008 09:46:40 +0000 (09:46 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 16 Apr 2008 09:46:40 +0000 (09:46 +0000)
commit0d4bdde3270a8ed182a685a580031d6d5d743164
tree68d1361a647b5073e23b6848c1f62606ac68e8e6
parent9b6d7b9fb36b5cf87d291881dfcea399796f7826
Rewrite LiveVariable liveness computation. The new implementation is much simplified. It eliminated the nasty recursive routines and removed the partial def / use bookkeeping. There is also potential for performance improvement by replacing the conservative handling of partial physical register definitions. The code is currently disabled until live interval analysis is taught of the name scheme.

This patch also fixed a couple of nasty corner cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49784 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveVariables.h
lib/CodeGen/LiveVariables.cpp
test/CodeGen/X86/2008-04-15-LiveVariableBug.ll [new file with mode: 0644]