summaryrefslogtreecommitdiff
path: root/lib/CodeGen/Spiller.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-10 22:54:44 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-10 22:54:44 +0000
commitf6dff84d4e44d6c4a46c4f8a18e13c78f804547c (patch)
treeb890783fc31acf565f3ec6a2947704c7786b6833 /lib/CodeGen/Spiller.h
parent3bda29eb4f111015974d3f07675a26ec980e4a45 (diff)
downloadllvm-f6dff84d4e44d6c4a46c4f8a18e13c78f804547c.tar.gz
llvm-f6dff84d4e44d6c4a46c4f8a18e13c78f804547c.tar.bz2
llvm-f6dff84d4e44d6c4a46c4f8a18e13c78f804547c.tar.xz
Force the greedy register allocator to always use the inline spiller.
Soon, RegAllocGreedy will start splitting live ranges, and then deferred spilling won't work anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.h')
-rw-r--r--lib/CodeGen/Spiller.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/CodeGen/Spiller.h b/lib/CodeGen/Spiller.h
index 92f092a0da..f017583494 100644
--- a/lib/CodeGen/Spiller.h
+++ b/lib/CodeGen/Spiller.h
@@ -44,6 +44,13 @@ namespace llvm {
Spiller* createSpiller(MachineFunctionPass &pass,
MachineFunction &mf,
VirtRegMap &vrm);
+
+ /// Create and return a spiller that will insert spill code directly instead
+ /// of deferring though VirtRegMap.
+ Spiller *createInlineSpiller(MachineFunctionPass &pass,
+ MachineFunction &mf,
+ VirtRegMap &vrm);
+
}
#endif