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)
commit4acc514cc29f0c1fdb3363780e7aece3a86c24a4
treea108fc10923fa3da0966de22d10effafb161e44f
parent1f6bcf1b85a41e582005de91568e4f1abb7f7e98
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.

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