summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-01-06 23:52:46 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-01-06 23:52:46 +0000
commit29c7234eb77207f75c4c652fda70221bb631e174 (patch)
treefe287526117bb011a2447778ff2c9c9cc1a1081a /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parent29a64c9575dd91df633b74aa612ed572b9a45242 (diff)
downloadbcm5719-llvm-29c7234eb77207f75c4c652fda70221bb631e174.tar.gz
bcm5719-llvm-29c7234eb77207f75c4c652fda70221bb631e174.zip
Allow double defs after tail duplication.
llvm-svn: 92874
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index e237f05fe9b..8757c9f0ae3 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -336,7 +336,8 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
if (OptLevel != CodeGenOpt::None &&
!DisableTailDuplicate && PreAllocTailDup) {
PM.add(createTailDuplicatePass(true));
- printAndVerify(PM, "After Pre-RegAlloc TailDuplicate");
+ printAndVerify(PM, "After Pre-RegAlloc TailDuplicate",
+ /* allowDoubleDefs= */ true);
}
// Run pre-ra passes.
OpenPOWER on IntegriCloud