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

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



Changes in directory llvm/tools/llvm-ld:

GenerateCode.cpp updated: 1.1 -> 1.2
---
Log message:

Rename pass


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

Index: llvm/tools/llvm-ld/GenerateCode.cpp
diff -u llvm/tools/llvm-ld/GenerateCode.cpp:1.1 llvm/tools/llvm-ld/GenerateCode.cpp:1.2
--- llvm/tools/llvm-ld/GenerateCode.cpp:1.1	Sun Sep 12 20:27:53 2004
+++ llvm/tools/llvm-ld/GenerateCode.cpp	Wed Oct  6 23:11:24 2004
@@ -161,9 +161,8 @@
       addPass(Passes, createInternalizePass());
     }
 
-    // Now that we internalized some globals, see if we can mark any globals as
-    // being constant!
-    addPass(Passes, createGlobalConstifierPass());
+    // Now that we internalized some globals, see if we can hack on them!
+    addPass(Passes, createGlobalOptimizerPass());
 
     // Linking modules together can lead to duplicated global constants, only
     // keep one copy of each constant...






More information about the llvm-commits mailing list