mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
reverting r150565. Premature push.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
352aa4f67f
commit
40bb92a5cc
@ -582,8 +582,14 @@ void TargetPassConfig::addOptimizedRegAlloc(FunctionPass *RegAllocPass) {
|
||||
//
|
||||
// FIXME: Re-enable coloring with register when it's capable of adding
|
||||
// kill markers.
|
||||
if (addPass(StackSlotColoringID) != &NoPaddID)
|
||||
printAndVerify("After StackSlotColoring");
|
||||
addPass(StackSlotColoringID);
|
||||
|
||||
// Run post-ra machine LICM to hoist reloads / remats.
|
||||
//
|
||||
// FIXME: can this move into MachineLateOptimization?
|
||||
addPass(PostRAMachineLICMID);
|
||||
|
||||
printAndVerify("After StackSlotColoring and postra Machine LICM");
|
||||
}
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
@ -592,10 +598,6 @@ void TargetPassConfig::addOptimizedRegAlloc(FunctionPass *RegAllocPass) {
|
||||
|
||||
/// Add passes that optimize machine instructions after register allocation.
|
||||
void TargetPassConfig::addMachineLateOptimization() {
|
||||
// Run post-ra machine LICM to hoist reloads / remats.
|
||||
if (addPass(PostRAMachineLICMID) != &NoPassID)
|
||||
printAndVerify("After postra Machine LICM");
|
||||
|
||||
// Branch folding must be run after regalloc and prolog/epilog insertion.
|
||||
if (addPass(BranchFolderPassID) != &NoPassID)
|
||||
printNoVerify("After BranchFolding");
|
||||
|
Loading…
x
Reference in New Issue
Block a user