summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-05 15:38:41 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-05 15:38:41 +0000
commitbbad3bceb7ad62d04cb21489719624e389becfac (patch)
tree2ca5b0c966d1b992b43d140fa03576a8deb4c851 /clang/lib/Sema/SemaDeclCXX.cpp
parentb2090ecbf2feea994f3d3066f8ae69b77cbc666b (diff)
downloadbcm5719-llvm-bbad3bceb7ad62d04cb21489719624e389becfac.tar.gz
bcm5719-llvm-bbad3bceb7ad62d04cb21489719624e389becfac.zip
Fix PR10277.
Remat during spilling triggers dead code elimination. If a phi-def becomes unused, that may also cause live ranges to split into separate connected components. This type of splitting is different from normal live range splitting. In particular, there may not be a common original interval. When the split range is its own original, make sure that the new siblings are also their own originals. The range being split cannot be used as an original since it doesn't cover the new siblings. llvm-svn: 134413
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud