[llvm-commits] CVS: llvm/tools/gccld/gccld.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Jun 18 11:30:02 PDT 2003
Changes in directory llvm/tools/gccld:
gccld.cpp updated: 1.33 -> 1.34
---
Log message:
Add new DAE pass to gccld. It does not add cause any regressions in the test-suite
---
Diffs of the changes:
Index: llvm/tools/gccld/gccld.cpp
diff -u llvm/tools/gccld/gccld.cpp:1.33 llvm/tools/gccld/gccld.cpp:1.34
--- llvm/tools/gccld/gccld.cpp:1.33 Thu May 29 10:13:15 2003
+++ llvm/tools/gccld/gccld.cpp Wed Jun 18 11:29:02 2003
@@ -396,6 +396,10 @@
Passes.add(createInternalizePass());
}
+ // Remove unused arguments from functions...
+ //
+ Passes.add(createDeadArgEliminationPass());
+
// Now that we have optimized the program, discard unreachable functions...
//
Passes.add(createGlobalDCEPass());
More information about the llvm-commits
mailing list