diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 23:02:17 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-31 23:02:17 +0000 |
| commit | 6e597dc8e79bef642be2d9cf76aba8d5b3666196 (patch) | |
| tree | 486209e962bdd9f68c69b16dd815fc0d2d78d16a | |
| parent | 07093426524c6598bc73c907e89a4190c84e5a3b (diff) | |
| download | bcm5719-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.cpp | 2 |
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(); |

