From 00667a54f21f2d58382ac2eed973706332ed5817 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 13 Aug 2010 01:05:23 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SplitKit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp index 2430161ecae..5193cf4ad0d 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); } }