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:
59acc7d
)
Turn on ipsccp by default instead of simple IPCP
author
Chris Lattner
<sabre@nondot.org>
Fri, 10 Dec 2004 08:03:43 +0000
(08:03 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 10 Dec 2004 08:03:43 +0000
(08:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18753
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/gccld/GenerateCode.cpp
patch
|
blob
|
history
diff --git
a/tools/gccld/GenerateCode.cpp
b/tools/gccld/GenerateCode.cpp
index 84eba1b505be1d141edce21e41784a940b1f901a..ee9e42c49d445f10924a8e4f336169f6e9446cb0 100644
(file)
--- a/
tools/gccld/GenerateCode.cpp
+++ b/
tools/gccld/GenerateCode.cpp
@@
-170,7
+170,8
@@
int llvm::GenerateBytecode(Module *M, int StripLevel, bool Internalize,
addPass(Passes, createConstantMergePass());
// Propagate constants at call sites into the functions they call.
- addPass(Passes, createIPConstantPropagationPass());
+ addPass(Passes, createIPSCCPPass());
+ addPass(Passes, createCFGSimplificationPass());
// Remove unused arguments from functions...
addPass(Passes, createDeadArgEliminationPass());