[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Oct 6 21:11:37 PDT 2004



Changes in directory llvm/tools/gccas:

gccas.cpp updated: 1.100 -> 1.101
---
Log message:

Rename pass



---
Diffs of the changes:  (+2 -2)

Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.100 llvm/tools/gccas/gccas.cpp:1.101
--- llvm/tools/gccas/gccas.cpp:1.100	Wed Sep  1 17:55:37 2004
+++ llvm/tools/gccas/gccas.cpp	Wed Oct  6 23:11:26 2004
@@ -71,8 +71,8 @@
   addPass(PM, createRaiseAllocationsPass());     // call %malloc -> malloc inst
   addPass(PM, createCFGSimplificationPass());    // Clean up disgusting code
   addPass(PM, createPromoteMemoryToRegister());  // Kill useless allocas
-  addPass(PM, createGlobalConstifierPass());     // Mark read-only globals const
-  addPass(PM, createGlobalDCEPass());            // Remove unused globals
+  addPass(PM, createGlobalOptimizerPass());      // Optimize out global vars
+  addPass(PM, createGlobalDCEPass());            // Remove unused fns and globs
   addPass(PM, createIPConstantPropagationPass());// IP Constant Propagation
   addPass(PM, createDeadArgEliminationPass());   // Dead argument elimination
   addPass(PM, createInstructionCombiningPass()); // Clean up after IPCP & DAE






More information about the llvm-commits mailing list