VirtRegMap: No implicit defs/uses for super registers with subreg liveness tracking.
authorMatthias Braun <matze@braunis.de>
Wed, 10 Dec 2014 01:13:04 +0000 (01:13 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 10 Dec 2014 01:13:04 +0000 (01:13 +0000)
commit668132490cbdc6a016a4881a29dbcc1a634598c5
treeb419bf04c17bedafedb7c356609773127956589b
parent0fc28990e477a537436f2c81810e35a73f860c48
VirtRegMap: No implicit defs/uses for super registers with subreg liveness tracking.

Adding the implicit defs/uses to the superregisters is semantically questionable
but was not dangerous before as the register allocator never assigned the same
register to two overlapping LiveIntervals even when the actually live
subregisters do not overlap. With subregister liveness tracking enabled this
does actually happen and leads to subsequent bugs if we don't stop adding
the superregister defs/uses.

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