MergeValueInto is too smart: it might choose to do the merge the opposite direction.
authorOwen Anderson <resistor@mac.com>
Mon, 2 Feb 2009 22:42:01 +0000 (22:42 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 2 Feb 2009 22:42:01 +0000 (22:42 +0000)
commit5b93f6fa82e33b17d618b3e24da513f547861481
treea3cadfbcb6fa5dc28d2da63f94bd92baebb0c8e7
parent8a782a2a8c2f0c82f292d03a3f707232b0bae27b
MergeValueInto is too smart: it might choose to do the merge the opposite direction.
Live interval reconstruction needs to account for this, and scour its maps to
prevent dangling references.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63558 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveInterval.h
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/PreAllocSplitting.cpp