Add the ADCE pass to gccas finally!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2719 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-05-22 21:30:24 +00:00
parent 277f651ce8
commit ff8207fc6c

View File

@ -88,6 +88,7 @@ int main(int argc, char **argv) {
// opened up by them.
Passes.add(createInstructionCombiningPass());
Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars
Passes.add(createAggressiveDCEPass()); // SSA based 'Agressive DCE'
Passes.add(createCFGSimplificationPass()); // Merge & remove BBs
}
Passes.add(new WriteBytecodePass(&Out)); // Write bytecode to file...
@ -96,4 +97,3 @@ int main(int argc, char **argv) {
Passes.run(M.get());
return 0;
}