mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Add a new pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11838 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fdf6a3c8cc
commit
a93d19fff7
@ -68,6 +68,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
|
||||
addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst
|
||||
addPass(PM, createCFGSimplificationPass()); // Clean up disgusting code
|
||||
addPass(PM, createPromoteMemoryToRegister()); // Kill useless allocas
|
||||
addPass(PM, createGlobalConstifierPass()); // Mark read-only globals const
|
||||
addPass(PM, createGlobalDCEPass()); // Remove unused globals
|
||||
addPass(PM, createIPConstantPropagationPass());// IP Constant Propagation
|
||||
addPass(PM, createDeadArgEliminationPass()); // Dead argument elimination
|
||||
|
Loading…
Reference in New Issue
Block a user