[llvm-commits] [llvm] r79095 - /llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Sat Aug 15 06:10:16 PDT 2009


Author: stoklund
Date: Sat Aug 15 08:10:15 2009
New Revision: 79095

URL: http://llvm.org/viewvc/llvm-project?rev=79095&view=rev
Log:
Allow double defs in the machine code verifier after the addPreRegAlloc passes.

Modified:
    llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp

Modified: llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp?rev=79095&r1=79094&r2=79095&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp (original)
+++ llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp Sat Aug 15 08:10:15 2009
@@ -291,7 +291,7 @@
 
   // Run pre-ra passes.
   if (addPreRegAlloc(PM, OptLevel))
-    printAndVerify(PM);
+    printAndVerify(PM, /* allowDoubleDefs= */ true);
 
   // Perform register allocation.
   PM.add(createRegisterAllocator());





More information about the llvm-commits mailing list