Jakob Stoklund Olesen 27cb347d0e Make sure the whole live range is covered when values are pruned twice.
JoinVals::pruneValues() calls LIS->pruneValue() to avoid conflicts when
overlapping two different values. This produces a set of live range end
points that are used to reconstruct the live range (with SSA update)
after joining the two registers.

When a value is pruned twice, the set of end points was insufficient:

  v1 = DEF
  v1 = REPLACE1
  v1 = REPLACE2
  KILL v1

The end point at KILL would only reconstruct the live range from
REPLACE2 to KILL, leaving the range REPLACE1-REPLACE2 dead.

Add REPLACE2 as an end point in this case so the full live range is
reconstructed.

This fixes PR13999.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165056 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-02 21:46:39 +00:00
..
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-04-10 03:15:42 +00:00
2012-06-11 08:07:26 +00:00
2012-02-28 02:08:50 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:27:31 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-06-15 21:32:12 +00:00
2012-09-29 21:43:49 +00:00
2011-12-19 23:26:44 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2011-11-14 18:03:05 +00:00
2012-09-29 21:43:49 +00:00
2011-11-29 23:09:16 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00
2012-09-29 21:43:49 +00:00