Remember to actually update SplitAnalysis statistics now that we have a fancy

function to do it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110994 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2010-08-13 01:05:23 +00:00
parent 452b93e7dc
commit 00667a54f2

View File

@ -668,6 +668,7 @@ void SplitEditor::rewrite() {
}
if (LI) {
MO.setReg(LI->reg);
sa_.removeUse(MI);
DEBUG(dbgs() << " rewrite " << Idx << '\t' << *MI);
}
}