Remove <def,read-undef> flags from partial redefinitions.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 27 Sep 2012 23:31:32 +0000 (23:31 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 27 Sep 2012 23:31:32 +0000 (23:31 +0000)
commit31af8bf1cc28f09031451260c405415e33e07d3b
tree6571f3e4de43fef0303eba3feb0a7e69a76163ef
parentb5f0feabae967ab27efa82ad1a54536fc5671d22
Remove <def,read-undef> flags from partial redefinitions.

The new coalescer can turn a full virtual register definition into a
partial redef by merging another value into an unused vector lane.

Make sure to clear the <read-undef> flag on such defs.

llvm-svn: 164807
llvm/lib/CodeGen/RegisterCoalescer.cpp