Also recompute HasPHIKill flags in LiveInterval::RenumberValues.

If a phi-def value were removed from the interval, the phi-kill flags are no
longer valid.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen
2010-08-12 20:38:03 +00:00
parent 719510a178
commit fff2c4726b
3 changed files with 25 additions and 3 deletions

View File

@ -645,7 +645,7 @@ void SplitEditor::rewrite() {
// dupli_ goes in last, after rewriting.
if (dupli_) {
dupli_->RenumberValues();
dupli_->RenumberValues(lis_);
intervals_.push_back(dupli_);
}