OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c59e09e
)
Remove this pass as its no longer needed.
author
Reid Spencer
<rspencer@reidspencer.com>
Fri, 10 Dec 2004 22:55:35 +0000
(22:55 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Fri, 10 Dec 2004 22:55:35 +0000
(22:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18783
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-ld/Optimize.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-ld/Optimize.cpp
b/tools/llvm-ld/Optimize.cpp
index
5dc9424
..
c676809
100644
(file)
--- a/
tools/llvm-ld/Optimize.cpp
+++ b/
tools/llvm-ld/Optimize.cpp
@@
-163,9
+163,6
@@
void Optimize(Module* M) {
// Cleanup and simplify the code after the scalar optimizations.
addPass(Passes, createInstructionCombiningPass());
- // Delete basic blocks, which optimization passes may have killed...
- addPass(Passes, createCFGSimplificationPass());
-
// Now that we have optimized the program, discard unreachable functions...
addPass(Passes, createGlobalDCEPass());
}