[llvm-commits] CVS: llvm/tools/gccld/gccld.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Jun 19 12:05:02 PDT 2003
Changes in directory llvm/tools/gccld:
gccld.cpp updated: 1.34 -> 1.35
---
Log message:
Funcresolve no longer performs nicification of resolved functions
instcombine does this
---
Diffs of the changes:
Index: llvm/tools/gccld/gccld.cpp
diff -u llvm/tools/gccld/gccld.cpp:1.34 llvm/tools/gccld/gccld.cpp:1.35
--- llvm/tools/gccld/gccld.cpp:1.34 Wed Jun 18 11:29:02 2003
+++ llvm/tools/gccld/gccld.cpp Thu Jun 19 12:03:51 2003
@@ -404,6 +404,11 @@
//
Passes.add(createGlobalDCEPass());
+ // The FuncResolve pass may leave cruft around if functions were prototyped
+ // differently than they were defined. Remove this cruft.
+ //
+ Passes.add(createInstructionCombiningPass());
+
// Add the pass that writes bytecode to the output file...
std::string RealBytecodeOutput = OutputFilename;
if (!LinkAsLibrary) RealBytecodeOutput += ".bc";
More information about the llvm-commits
mailing list