Changes in directory llvm/lib/CodeGen:

LLVMTargetMachine.cpp updated: 1.3 -> 1.4
---
Log message:

Don't do dead block elimination in fast mode.

---
Diffs of the changes:  (+2 -1)

 LLVMTargetMachine.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff -u llvm/lib/CodeGen/LLVMTargetMachine.cpp:1.3 
llvm/lib/CodeGen/LLVMTargetMachine.cpp:1.4
--- llvm/lib/CodeGen/LLVMTargetMachine.cpp:1.3  Fri Oct 13 15:45:56 2006
+++ llvm/lib/CodeGen/LLVMTargetMachine.cpp      Tue Oct 24 11:11:49 2006
@@ -64,7 +64,8 @@
   PM.add(createPrologEpilogCodeInserter());
   
   // Branch folding must be run after regalloc and prolog/epilog insertion.
-  PM.add(createBranchFoldingPass());
+  if (!Fast)
+    PM.add(createBranchFoldingPass());
   
   if (PrintMachineCode)  // Print the register-allocated code
     PM.add(createMachineFunctionPrinterPass(&std::cerr));



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to