[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Mar 13 15:39:02 PST 2004
Changes in directory llvm/tools/gccas:
gccas.cpp updated: 1.94 -> 1.95
---
Log message:
Turn on argument promotion in gccas. This can give us substantially better
code in cases where the file has lots of static functions or anon namespaces.
---
Diffs of the changes: (+1 -0)
Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.94 llvm/tools/gccas/gccas.cpp:1.95
--- llvm/tools/gccas/gccas.cpp:1.94 Wed Feb 25 15:35:02 2004
+++ llvm/tools/gccas/gccas.cpp Sat Mar 13 15:38:35 2004
@@ -79,6 +79,7 @@
if (!DisableInline)
addPass(PM, createFunctionInliningPass()); // Inline small functions
+ addPass(PM, createArgumentPromotionPass()); // Scalarize uninlined fn args
addPass(PM, createRaisePointerReferencesPass());// Recover type information
addPass(PM, createTailDuplicationPass()); // Simplify cfg by copying code
More information about the llvm-commits
mailing list