Teach LiveVariables to handle <undef> operands.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 23 Jun 2012 02:23:00 +0000 (02:23 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 23 Jun 2012 02:23:00 +0000 (02:23 +0000)
commit7806c0778f22552ebe6711f3dc43887dc6097bfc
tree2eb6e70baa395b80e298fba8b94c4e131b73e3c2
parentce0a5cda8aa547d5219da70a68bef40d5ed8392c
Teach LiveVariables to handle <undef> operands.

It's simple: Don't treat <undef> operands as uses, and don't assume a
virtual register has a defining instruction unless a real use has been
seen.

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