mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-28 00:40:54 +00:00
No need to run dce with adce right behind!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0fa59061d0
commit
5424e50c61
@ -87,7 +87,6 @@ int main(int argc, char **argv) {
|
|||||||
// Run instcombine after redundancy elimination to exploit opportunities
|
// Run instcombine after redundancy elimination to exploit opportunities
|
||||||
// opened up by them.
|
// opened up by them.
|
||||||
Passes.add(createInstructionCombiningPass());
|
Passes.add(createInstructionCombiningPass());
|
||||||
Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars
|
|
||||||
Passes.add(createAggressiveDCEPass()); // SSA based 'Agressive DCE'
|
Passes.add(createAggressiveDCEPass()); // SSA based 'Agressive DCE'
|
||||||
Passes.add(createCFGSimplificationPass()); // Merge & remove BBs
|
Passes.add(createCFGSimplificationPass()); // Merge & remove BBs
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user