[llvm-commits] CVS: llvm/tools/gccld/GenerateCode.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Oct 23 13:27:02 PDT 2003


Changes in directory llvm/tools/gccld:

GenerateCode.cpp updated: 1.9 -> 1.10

---
Log message:

Turn on the IPCP pass by default.  It has passed all of the tests



---
Diffs of the changes:  (+3 -0)

Index: llvm/tools/gccld/GenerateCode.cpp
diff -u llvm/tools/gccld/GenerateCode.cpp:1.9 llvm/tools/gccld/GenerateCode.cpp:1.10
--- llvm/tools/gccld/GenerateCode.cpp:1.9	Mon Oct 20 12:58:43 2003
+++ llvm/tools/gccld/GenerateCode.cpp	Thu Oct 23 13:25:57 2003
@@ -68,6 +68,9 @@
     Passes.add(createInternalizePass());
   }
 
+  // Propagate constants at call sites into the functions they call.
+  Passes.add(createIPConstantPropagationPass());
+
   // Remove unused arguments from functions...
   Passes.add(createDeadArgEliminationPass());
 





More information about the llvm-commits mailing list