Now that I am told MachineRegisterInfo also tracks physical register uses / defs...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 2 Apr 2008 18:04:08 +0000 (18:04 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 2 Apr 2008 18:04:08 +0000 (18:04 +0000)
commitea1d9cdc4e4f4e4570acddb7c4a63f703b110dad
tree33381d8203455212ef9178976304d72aaac53d9f
parent1088317675dd34a1823f427e472fb9e43c616cb1
Now that I am told MachineRegisterInfo also tracks physical register uses / defs, I can do away with the horribleness I introduced a while back. It's impossible to detect if there is any use of a physical register below an instruction (and before any def of the register) with some cheap book keeping.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49105 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveVariables.h
lib/CodeGen/LiveVariables.cpp