[llvm-commits] CVS: llvm/lib/CodeGen/LLVMTargetMachine.cpp
Jim Laskey
jlaskey at apple.com
Tue Oct 24 09:12:03 PDT 2006
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));
More information about the llvm-commits
mailing list