diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-13 01:05:23 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-13 01:05:23 +0000 |
commit | 840b81a19e6c425c3570e2aa62ea04f5a6ac9adc (patch) | |
tree | 0ca932e88e4f8d6d5b6400e9facbf6429ea1bcf2 /llvm/lib/CodeGen/SplitKit.cpp | |
parent | e525b4e2d9b670cfb3358c885317d99e8ed708f7 (diff) | |
download | bcm5719-llvm-840b81a19e6c425c3570e2aa62ea04f5a6ac9adc.tar.gz bcm5719-llvm-840b81a19e6c425c3570e2aa62ea04f5a6ac9adc.zip |
Remember to actually update SplitAnalysis statistics now that we have a fancy
function to do it.
llvm-svn: 110994
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp index 2430161ecae..5193cf4ad0d 100644 --- a/llvm/lib/CodeGen/SplitKit.cpp +++ b/llvm/lib/CodeGen/SplitKit.cpp @@ -668,6 +668,7 @@ void SplitEditor::rewrite() { } if (LI) { MO.setReg(LI->reg); + sa_.removeUse(MI); DEBUG(dbgs() << " rewrite " << Idx << '\t' << *MI); } } |