mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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:
parent
277f651ce8
commit
ff8207fc6c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user