mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 21:31:03 +00:00
Simplify CFG after code generation is done
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2698 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
76ae3445f8
commit
e3a20e733e
@ -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…
x
Reference in New Issue
Block a user