aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-05-21 19:32:41 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-05-21 19:32:41 +0000
commit44d17ca02e0b112b4777ba6416b87793c045d8de (patch)
treeb4be791d451e979ab260551d14d82d351d1bb152 /clang/lib/Basic/SourceManager.cpp
parent9bb96980aa3c87aab8c26459f61559aa582d41c2 (diff)
downloadllvm-44d17ca02e0b112b4777ba6416b87793c045d8de.zip
llvm-44d17ca02e0b112b4777ba6416b87793c045d8de.tar.gz
llvm-44d17ca02e0b112b4777ba6416b87793c045d8de.tar.bz2
Fix register coalescer failure to prune value
Register coalescer fails for the test in the patch with the assertion in JoinVals::ConflictResolution `DefMI != nullptr'. It attempts to join live intervals for two adjacent instructions and erase the copy: %2:vreg_256 = COPY %1 %3:vreg_256 = COPY killed %1 The LI needs to be adjusted to kill subrange for the erased instruction and extend the subrange of the original def. That was done for the main interval only but not for the subrange. As a result subrange had a VNI pointing to the erased slot resulting in the above failure. Differential Revision: https://reviews.llvm.org/D62162 llvm-svn: 361293
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions