Link to the live DomainValue after merging.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 9 Nov 2011 00:06:18 +0000 (00:06 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 9 Nov 2011 00:06:18 +0000 (00:06 +0000)
commitdbc372f47e3a77343e6ef1ab4a88bc46f532f774
tree0748455cbb5c7d4ff38905f4d43064663dbaf9ae
parent7151ddd6efb2f3f51297b35f27a30ddfa8a76a7e
Link to the live DomainValue after merging.

When merging two uncollapsed DomainValues, place a link to the active
DomainValue from the passive DomainValue.  This allows old stale
references to the passive DomainValue to be updated to point to the
active DomainValue.

The new resolve() function finds the active DomainValue and updates the
pointer.

This change makes old live-out lists more useful since they may contain
uncollapsed DomainValues that have since been merged into other
DomainValues.

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