Allow double defs after tail duplication.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92874 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2010-01-06 23:52:46 +00:00
parent 30ac0467ce
commit 541e9ae3ad

View File

@ -336,7 +336,8 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
if (OptLevel != CodeGenOpt::None && if (OptLevel != CodeGenOpt::None &&
!DisableTailDuplicate && PreAllocTailDup) { !DisableTailDuplicate && PreAllocTailDup) {
PM.add(createTailDuplicatePass(true)); PM.add(createTailDuplicatePass(true));
printAndVerify(PM, "After Pre-RegAlloc TailDuplicate"); printAndVerify(PM, "After Pre-RegAlloc TailDuplicate",
/* allowDoubleDefs= */ true);
} }
// Run pre-ra passes. // Run pre-ra passes.