summaryrefslogtreecommitdiffstats
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
commit6e597dc8e79bef642be2d9cf76aba8d5b3666196 (patch)
tree486209e962bdd9f68c69b16dd815fc0d2d78d16a
parent07093426524c6598bc73c907e89a4190c84e5a3b (diff)
downloadbcm5719-llvm-6e597dc8e79bef642be2d9cf76aba8d5b3666196.tar.gz
bcm5719-llvm-6e597dc8e79bef642be2d9cf76aba8d5b3666196.zip
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. llvm-svn: 128688
-rw-r--r--llvm/lib/CodeGen/RegAllocBasic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp
index ad334734151..6a3df130203 100644
--- a/llvm/lib/CodeGen/RegAllocBasic.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud