From f0179004e94259a8adab6c48f295ea9ab18af4c3 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Mon, 26 Jul 2010 23:44:11 +0000 Subject: Add SplitEditor to SplitKit. This class will be used to edit live intervals and rewrite instructions for live range splitting. Still work in progress. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109469 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/InlineSpiller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen/InlineSpiller.cpp') diff --git a/lib/CodeGen/InlineSpiller.cpp b/lib/CodeGen/InlineSpiller.cpp index 1016c0ae9f..d8616fd8fb 100644 --- a/lib/CodeGen/InlineSpiller.cpp +++ b/lib/CodeGen/InlineSpiller.cpp @@ -110,8 +110,8 @@ bool InlineSpiller::split() { splitAnalysis_.analyze(li_); if (const MachineLoop *loop = splitAnalysis_.getBestSplitLoop()) { - if (splitAroundLoop(splitAnalysis_, loop)) - return true; + SplitEditor(splitAnalysis_, lis_, vrm_).splitAroundLoop(loop); + return true; } return false; } -- cgit v1.2.3-70-g09d2