From 7cf0bfd61f42c892f1f47f731ace51a9edfc0f80 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 6 May 2009 02:36:21 +0000 Subject: Renamed Spiller classes (plus uses and related files) to VirtRegRewriter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71057 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAllocPBQP.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/CodeGen/RegAllocPBQP.cpp') diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp index 8cdf4fa..9b2c92c 100644 --- a/lib/CodeGen/RegAllocPBQP.cpp +++ b/lib/CodeGen/RegAllocPBQP.cpp @@ -33,7 +33,7 @@ #include "PBQP.h" #include "VirtRegMap.h" -#include "Spiller.h" +#include "VirtRegRewriter.h" #include "llvm/CodeGen/LiveIntervalAnalysis.h" #include "llvm/CodeGen/LiveStackAnalysis.h" #include "llvm/CodeGen/MachineFunctionPass.h" @@ -850,9 +850,10 @@ bool PBQPRegAlloc::runOnMachineFunction(MachineFunction &MF) { DOUT << "Post alloc VirtRegMap:\n" << *vrm << "\n"; - // Run spiller - std::auto_ptr spiller(createSpiller()); - spiller->runOnMachineFunction(*mf, *vrm, lis); + // Run rewriter + std::auto_ptr rewriter(createVirtRegRewriter()); + + rewriter->runOnMachineFunction(*mf, *vrm, lis); return true; } -- cgit v1.1