mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Enable machine code verification after the late machine optimization passes.
Branch folding invalidates liveness and disables liveness verification on some targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153597 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
948a44458c
commit
663ee20cc4
@ -601,15 +601,15 @@ void TargetPassConfig::addOptimizedRegAlloc(FunctionPass *RegAllocPass) {
|
||||
void TargetPassConfig::addMachineLateOptimization() {
|
||||
// Branch folding must be run after regalloc and prolog/epilog insertion.
|
||||
if (addPass(BranchFolderPassID) != &NoPassID)
|
||||
printNoVerify("After BranchFolding");
|
||||
printAndVerify("After BranchFolding");
|
||||
|
||||
// Tail duplication.
|
||||
if (addPass(TailDuplicateID) != &NoPassID)
|
||||
printNoVerify("After TailDuplicate");
|
||||
printAndVerify("After TailDuplicate");
|
||||
|
||||
// Copy propagation.
|
||||
if (addPass(MachineCopyPropagationID) != &NoPassID)
|
||||
printNoVerify("After copy propagation pass");
|
||||
printAndVerify("After copy propagation pass");
|
||||
}
|
||||
|
||||
/// Add standard basic block placement passes.
|
||||
|
Loading…
Reference in New Issue
Block a user