diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-26 23:44:11 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-26 23:44:11 +0000 |
commit | f0179004e94259a8adab6c48f295ea9ab18af4c3 (patch) | |
tree | 4d5739157847b5066207e94bbd723fbcc3c3c857 /lib/CodeGen/InlineSpiller.cpp | |
parent | 3eca15bdb5823d0f9ff5059a179a1759fee1a185 (diff) |
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
Diffstat (limited to 'lib/CodeGen/InlineSpiller.cpp')
-rw-r--r-- | lib/CodeGen/InlineSpiller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |