Also add <def,undef> flags when coalescing sub-registers.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 5 Oct 2011 00:01:46 +0000 (00:01 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 5 Oct 2011 00:01:46 +0000 (00:01 +0000)
commitb077cf338bd85a6a7397ec88d65278f02f0ed06f
tree184f5e206bb514fd500b9f5eca5c7100f22ee727
parent2fec6c5ff153786744ba7d0d302b73179731c5e9
Also add <def,undef> flags when coalescing sub-registers.

RegisterCoalescer can create sub-register defs when it is joining a
register with a sub-register.  Add <undef> flags to these new
sub-register defs where appropriate.

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