mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 04:28:30 +00:00
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:
parent
30ac0467ce
commit
541e9ae3ad
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user