mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Remove ADCE from the optimization pipeline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6918a9141e
commit
9e2abd3840
@ -296,7 +296,7 @@ void AddStandardCompilePasses(PassManager &PM) {
|
|||||||
addPass(PM, createCondPropagationPass()); // Propagate conditionals
|
addPass(PM, createCondPropagationPass()); // Propagate conditionals
|
||||||
|
|
||||||
addPass(PM, createDeadStoreEliminationPass()); // Delete dead stores
|
addPass(PM, createDeadStoreEliminationPass()); // Delete dead stores
|
||||||
addPass(PM, createAggressiveDCEPass()); // SSA based 'Aggressive DCE'
|
addPass(PM, createDeadCodeEliminationPass()); // Delete dead instructions
|
||||||
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
|
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
|
||||||
addPass(PM, createStripDeadPrototypesPass()); // Get rid of dead prototypes
|
addPass(PM, createStripDeadPrototypesPass()); // Get rid of dead prototypes
|
||||||
addPass(PM, createDeadTypeEliminationPass()); // Eliminate dead types
|
addPass(PM, createDeadTypeEliminationPass()); // Eliminate dead types
|
||||||
|
Loading…
Reference in New Issue
Block a user