summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocBasic.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-31 23:02:17 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-31 23:02:17 +0000
commit842759662ba3eae35d6078643983a07266be9aa5 (patch)
tree01e0f1c4da5d6b7d8f2ee16aaea42acc303e78aa /lib/CodeGen/RegAllocBasic.cpp
parent1db952d0c6c93f24619af5de2ea1b0550665479c (diff)
downloadllvm-842759662ba3eae35d6078643983a07266be9aa5.tar.gz
llvm-842759662ba3eae35d6078643983a07266be9aa5.tar.bz2
llvm-842759662ba3eae35d6078643983a07266be9aa5.tar.xz
The basic register allocator must also use the inline spiller.
It is using a trivial rewriter that doesn't know how to insert spill code requested by the standard spiller. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r--lib/CodeGen/RegAllocBasic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocBasic.cpp b/lib/CodeGen/RegAllocBasic.cpp
index ad33473415..6a3df13020 100644
--- a/lib/CodeGen/RegAllocBasic.cpp
+++ b/lib/CodeGen/RegAllocBasic.cpp
@@ -508,7 +508,7 @@ bool RABasic::runOnMachineFunction(MachineFunction &mf) {
ReservedRegs = TRI->getReservedRegs(*MF);
- SpillerInstance.reset(createSpiller(*this, *MF, *VRM));
+ SpillerInstance.reset(createInlineSpiller(*this, *MF, *VRM));
allocatePhysRegs();