LiveIntervalAnalysis: No kill flags for partially undefined uses.
authorMatthias Braun <matze@braunis.de>
Sat, 20 Dec 2014 01:54:50 +0000 (01:54 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 20 Dec 2014 01:54:50 +0000 (01:54 +0000)
commit714c494ca1271c55f6b84a7bead086b888b40f03
tree9f65d89efa43721faad4df0bc5132d0dc899d0af
parent7f8dece1d783418dfead89844c827be2f34dc5c8
LiveIntervalAnalysis: No kill flags for partially undefined uses.

We must not add kill flags when reading a vreg with some undefined
subregisters, if subreg liveness tracking is enabled.  This is because
the register allocator may reuse these undefined subregisters for other
values which are not killed.

llvm-svn: 224664
llvm/lib/CodeGen/LiveIntervalAnalysis.cpp