commit | 00667a54f21f2d58382ac2eed973706332ed5817 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Aug 13 01:05:23 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Aug 13 01:05:23 2010 +0000 |
tree | 940b9690addc16c7e12e541afd98b975d74743b4 | |
parent | 452b93e7dc2802dea3a31ea12c397d11c3c5e23b [diff] [blame] |
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
diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp index 2430161..5193cf4 100644 --- a/lib/CodeGen/SplitKit.cpp +++ b/lib/CodeGen/SplitKit.cpp
@@ -668,6 +668,7 @@ } if (LI) { MO.setReg(LI->reg); + sa_.removeUse(MI); DEBUG(dbgs() << " rewrite " << Idx << '\t' << *MI); } }