diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-03-28 20:47:37 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-03-28 20:47:37 +0000 |
commit | 663ee20cc4b13b6d37ad1578050d8c3cc31eeff5 (patch) | |
tree | 17a103bfa86289ccea2945d7c3cb216d1491182b /lib/CodeGen/Passes.cpp | |
parent | 948a44458c2965e6c2924bbd47c4d41bda0d78f0 (diff) |
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
Diffstat (limited to 'lib/CodeGen/Passes.cpp')
-rw-r--r-- | lib/CodeGen/Passes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp index 6246c21566..8e8114d1a8 100644 --- a/lib/CodeGen/Passes.cpp +++ b/lib/CodeGen/Passes.cpp @@ -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. |