commit | d6c209aaf1ecf0724d981c6e198449f631fd018b | [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 | e764e90d867f61917f8b1296acb29b55bcff09cc [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); } }