Fix PR16110: Handle DBG_VALUE in ConnectedVNInfoEqClasses::Distribute().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 23 May 2013 17:02:23 +0000 (17:02 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 23 May 2013 17:02:23 +0000 (17:02 +0000)
commite0b59774cba9eb89ffba114635f3a1fa075910b1
tree6b4294fb773a548dceedc9769b2fb7bf385986e9
parent603100d3de4ba34bf5a7274acf7942083a1e2641
Fix PR16110: Handle DBG_VALUE in ConnectedVNInfoEqClasses::Distribute().

Now that the LiveDebugVariables pass is running *after* register
coalescing, the ConnectedVNInfoEqClasses class needs to deal with
DBG_VALUE instructions.

This only comes up when rematerialization during coalescing causes the
remaining live range of a virtual register to separate into two
connected components.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182592 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveInterval.cpp
test/CodeGen/ARM/coalesce-dbgvalue.ll [new file with mode: 0644]