summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SplitKit.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-05 18:33:49 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-05 18:33:49 +0000
commit2b0f9e73d8623b21fc14335ef6208deab2629cdf (patch)
tree57dce841d7e8ff1e3f58fea12c289e51e8f448e5 /lib/CodeGen/SplitKit.h
parent4faa0e19521f700ad10bfea69e141fc46c45f78b (diff)
downloadllvm-2b0f9e73d8623b21fc14335ef6208deab2629cdf.tar.gz
llvm-2b0f9e73d8623b21fc14335ef6208deab2629cdf.tar.bz2
llvm-2b0f9e73d8623b21fc14335ef6208deab2629cdf.tar.xz
Work around a coalescer bug.
The coalescer can in very rare cases leave too large live intervals around after rematerializing cheap-as-a-move instructions. Linear scan doesn't really care, but live range splitting gets very confused when a live range is killed by a ghost instruction. I will fix this properly in the coalescer after 2.9 branches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
-rw-r--r--lib/CodeGen/SplitKit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h
index 29c0afc76c..0e35df0ed6 100644
--- a/lib/CodeGen/SplitKit.h
+++ b/lib/CodeGen/SplitKit.h
@@ -103,7 +103,7 @@ private:
void analyzeUses();
/// calcLiveBlockInfo - Compute per-block information about CurLI.
- void calcLiveBlockInfo();
+ bool calcLiveBlockInfo();
/// canAnalyzeBranch - Return true if MBB ends in a branch that can be
/// analyzed.