diff options
| author | Bill Wendling <isanbard@gmail.com> | 2010-08-09 23:59:04 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2010-08-09 23:59:04 +0000 |
| commit | ca67835eaa1309e2b4775ebab944c9e12b120d29 (patch) | |
| tree | 11cae26cdf46e7ad5b383411776f1d195e279137 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
| parent | 2f1a7d9e76fbbd7d7211fc6a9a76ac9624fbd9b4 (diff) | |
| download | bcm5719-llvm-ca67835eaa1309e2b4775ebab944c9e12b120d29.tar.gz bcm5719-llvm-ca67835eaa1309e2b4775ebab944c9e12b120d29.zip | |
Merge the OptimizeExts and OptimizeCmps passes into one PeepholeOptimizer
pass. This pass should expand with all of the small, fine-grained optimization
passes to reduce compile time and increase happiment.
llvm-svn: 110627
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 5b2d40b5857..f5112f7f62b 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -353,8 +353,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, PM.add(createDeadMachineInstructionElimPass()); printAndVerify(PM, "After codegen DCE pass"); - PM.add(createOptimizeExtsPass()); - PM.add(createOptimizeCmpsPass()); + PM.add(createPeepholeOptimizerPass()); if (!DisableMachineLICM) PM.add(createMachineLICMPass()); PM.add(createMachineCSEPass()); |

