Revert r85346 change to control tail merging by CodeGenOpt::Level.

I'm going to redo this using the OptimizeForSize function attribute.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson
2009-10-28 20:46:46 +00:00
parent 90f48e7c91
commit a597103c32
6 changed files with 19 additions and 29 deletions

View File

@ -329,7 +329,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
// Branch folding must be run after regalloc and prolog/epilog insertion.
if (OptLevel != CodeGenOpt::None) {
PM.add(createBranchFoldingPass(getEnableTailMergeDefault(), OptLevel));
PM.add(createBranchFoldingPass(getEnableTailMergeDefault()));
printAndVerify(PM);
}