Allow double defs in the machine code verifier after the addPreRegAlloc passes.

llvm-svn: 79095
This commit is contained in:
Jakob Stoklund Olesen 2009-08-15 13:10:15 +00:00
parent 31f04e14f0
commit db3f862b6f

View File

@ -291,7 +291,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
// Run pre-ra passes.
if (addPreRegAlloc(PM, OptLevel))
printAndVerify(PM);
printAndVerify(PM, /* allowDoubleDefs= */ true);
// Perform register allocation.
PM.add(createRegisterAllocator());