commit | 840b81a19e6c425c3570e2aa62ea04f5a6ac9adc | [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 | 0ca932e88e4f8d6d5b6400e9facbf6429ea1bcf2 | |
parent | e525b4e2d9b670cfb3358c885317d99e8ed708f7 [diff] [blame] |
Remember to actually update SplitAnalysis statistics now that we have a fancy function to do it. llvm-svn: 110994
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp index 2430161..5193cf4 100644 --- a/llvm/lib/CodeGen/SplitKit.cpp +++ b/llvm/lib/CodeGen/SplitKit.cpp
@@ -668,6 +668,7 @@ } if (LI) { MO.setReg(LI->reg); + sa_.removeUse(MI); DEBUG(dbgs() << " rewrite " << Idx << '\t' << *MI); } }