diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-06-18 17:16:39 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-06-18 17:16:39 +0000 |
commit | 546017322f2b21573cad3412e52f1d0a49af714a (patch) | |
tree | 8e2b4e568a5e439a0cc4b44ff7da3ce5a561ece9 /llvm/lib/CodeGen | |
parent | 7b55d2d5542545755ffd99069c98d0dc36495b04 (diff) | |
download | bcm5719-llvm-546017322f2b21573cad3412e52f1d0a49af714a.tar.gz bcm5719-llvm-546017322f2b21573cad3412e52f1d0a49af714a.zip |
Shrink interval after moving copy in removePartialRedundancy
llvm-svn: 334963
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/RegisterCoalescer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp index 20e38f2895d..50938819d0a 100644 --- a/llvm/lib/CodeGen/RegisterCoalescer.cpp +++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp @@ -1050,6 +1050,8 @@ bool RegisterCoalescer::removePartialRedundancy(const CoalescerPair &CP, BValNo->markUnused(); LIS->extendToIndices(SR, EndPoints); } + // If any dead defs were extended, truncate them. + shrinkToUses(&IntB); // Finally, update the live-range of IntA. shrinkToUses(&IntA); |