mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Switch PBQP to VRM's trivial rewriter.
The very complicated VirtRegRewriter is going away. llvm-svn: 144479
This commit is contained in:
parent
5a265aeb70
commit
b54c411fc1
@ -36,7 +36,6 @@
|
||||
#include "Spiller.h"
|
||||
#include "Splitter.h"
|
||||
#include "VirtRegMap.h"
|
||||
#include "VirtRegRewriter.h"
|
||||
#include "RegisterCoalescer.h"
|
||||
#include "llvm/CodeGen/CalcSpillWeights.h"
|
||||
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
|
||||
@ -669,9 +668,7 @@ bool RegAllocPBQP::runOnMachineFunction(MachineFunction &MF) {
|
||||
DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *vrm << "\n");
|
||||
|
||||
// Run rewriter
|
||||
std::auto_ptr<VirtRegRewriter> rewriter(createVirtRegRewriter());
|
||||
|
||||
rewriter->runOnMachineFunction(*mf, *vrm, lis);
|
||||
vrm->rewrite(lis->getSlotIndexes());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user