mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Let RegAllocBasic require MachineDominators - they are already available and
splitting needs them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118194 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
376dcbd6c2
commit
964bc25e5a
@ -120,6 +120,7 @@ RABasic::RABasic(): MachineFunctionPass(ID) {
|
||||
initializeRegisterCoalescerAnalysisGroup(*PassRegistry::getPassRegistry());
|
||||
initializeCalculateSpillWeightsPass(*PassRegistry::getPassRegistry());
|
||||
initializeLiveStacksPass(*PassRegistry::getPassRegistry());
|
||||
initializeMachineDominatorTreePass(*PassRegistry::getPassRegistry());
|
||||
initializeMachineLoopInfoPass(*PassRegistry::getPassRegistry());
|
||||
initializeVirtRegMapPass(*PassRegistry::getPassRegistry());
|
||||
initializeRenderMachineFunctionPass(*PassRegistry::getPassRegistry());
|
||||
@ -135,6 +136,8 @@ void RABasic::getAnalysisUsage(AnalysisUsage &au) const {
|
||||
au.addRequired<CalculateSpillWeights>();
|
||||
au.addRequired<LiveStacks>();
|
||||
au.addPreserved<LiveStacks>();
|
||||
au.addRequiredID(MachineDominatorsID);
|
||||
au.addPreservedID(MachineDominatorsID);
|
||||
au.addRequired<MachineLoopInfo>();
|
||||
au.addPreserved<MachineLoopInfo>();
|
||||
au.addRequired<VirtRegMap>();
|
||||
|
Loading…
Reference in New Issue
Block a user