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
This commit is contained in:
Jakob Stoklund Olesen 2011-03-31 23:02:17 +00:00
parent 5421130bfc
commit 203727c92e

View File

@ -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();