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 | d6c209aaf1ecf0724d981c6e198449f631fd018b (patch) | |
| tree | 940b9690addc16c7e12e541afd98b975d74743b4 /lib/CodeGen | |
| parent | e764e90d867f61917f8b1296acb29b55bcff09cc (diff) | |
| download | external_llvm-d6c209aaf1ecf0724d981c6e198449f631fd018b.zip external_llvm-d6c209aaf1ecf0724d981c6e198449f631fd018b.tar.gz external_llvm-d6c209aaf1ecf0724d981c6e198449f631fd018b.tar.bz2 | |
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
Diffstat (limited to 'lib/CodeGen')
| -rw-r--r-- | lib/CodeGen/SplitKit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ void SplitEditor::rewrite() { } if (LI) { MO.setReg(LI->reg); + sa_.removeUse(MI); DEBUG(dbgs() << " rewrite " << Idx << '\t' << *MI); } } |
