mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Make PBQP require/preserve MachineLoopInfo - the spiller requires it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185378 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f8a1769e4
commit
781f5b3953
@ -43,6 +43,7 @@
|
||||
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
|
||||
#include "llvm/CodeGen/MachineDominators.h"
|
||||
#include "llvm/CodeGen/MachineFunctionPass.h"
|
||||
#include "llvm/CodeGen/MachineLoopInfo.h"
|
||||
#include "llvm/CodeGen/MachineRegisterInfo.h"
|
||||
#include "llvm/CodeGen/PBQP/Graph.h"
|
||||
#include "llvm/CodeGen/PBQP/HeuristicSolver.h"
|
||||
@ -436,6 +437,8 @@ void RegAllocPBQP::getAnalysisUsage(AnalysisUsage &au) const {
|
||||
au.addPreserved<LiveStacks>();
|
||||
au.addRequired<MachineBlockFrequencyInfo>();
|
||||
au.addPreserved<MachineBlockFrequencyInfo>();
|
||||
au.addRequired<MachineLoopInfo>();
|
||||
au.addPreserved<MachineLoopInfo>();
|
||||
au.addRequired<MachineDominatorTree>();
|
||||
au.addPreserved<MachineDominatorTree>();
|
||||
au.addRequired<VirtRegMap>();
|
||||
|
Loading…
Reference in New Issue
Block a user