Funcresolve no longer performs nicification of resolved functions

instcombine does this

llvm-svn: 6787
This commit is contained in:
Chris Lattner 2003-06-19 17:03:51 +00:00
parent b03ec62b2b
commit daebdb2358

View File

@ -404,6 +404,11 @@ int main(int argc, char **argv) {
//
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";