1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Simplify CFG after code generation is done

llvm-svn: 2698
This commit is contained in:
Chris Lattner 2002-05-21 20:05:08 +00:00
parent 4b29ff417d
commit d5eb6515a1

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(createCFGSimplificationPass()); // Merge & remove BBs
}
Passes.add(new WriteBytecodePass(&Out)); // Write bytecode to file...