projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24321d7
)
Don't do dead block elimination in fast mode.
author
Jim Laskey
<jlaskey@mac.com>
Tue, 24 Oct 2006 16:11:49 +0000
(16:11 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Tue, 24 Oct 2006 16:11:49 +0000
(16:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31155
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LLVMTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LLVMTargetMachine.cpp
b/lib/CodeGen/LLVMTargetMachine.cpp
index 18ab21845684df386b1c42e9acdaf6ac804ddfa7..b12634ae28138cb2be133adf97bdf49c227a7e67 100644
(file)
--- a/
lib/CodeGen/LLVMTargetMachine.cpp
+++ b/
lib/CodeGen/LLVMTargetMachine.cpp
@@
-64,7
+64,8
@@
bool LLVMTargetMachine::addPassesToEmitFile(FunctionPassManager &PM,
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));