aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-10-02 21:46:39 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-10-02 21:46:39 +0000
commitbb999c2f7200143f3e52f74d6d6c983161f0805b (patch)
treea0681041c5fb932ed11053ea32a2050b55b4e77f /clang/lib/Serialization/ModuleManager.cpp
parentb45bcc6d72e5854d71666b368acf40910e09be10 (diff)
downloadllvm-bb999c2f7200143f3e52f74d6d6c983161f0805b.zip
llvm-bb999c2f7200143f3e52f74d6d6c983161f0805b.tar.gz
llvm-bb999c2f7200143f3e52f74d6d6c983161f0805b.tar.bz2
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. llvm-svn: 165056
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions