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:
parent
4b29ff417d
commit
d5eb6515a1
@ -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...
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user