mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Revert the previous patch since it causes lots of miscompilations. :( :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f9c86cf5cf
commit
3edb77c07e
@ -58,13 +58,11 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
|
||||
PM.add(createVerifierPass()); // Verify that input is correct
|
||||
addPass(PM, createLowerSetJmpPass()); // Lower llvm.setjmp/.longjmp
|
||||
addPass(PM, createFunctionResolvingPass()); // Resolve (...) functions
|
||||
addPass(PM, createGlobalDCEPass()); // Remove unused globals
|
||||
addPass(PM, createCFGSimplificationPass()); // Clean up disgusting code
|
||||
addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst
|
||||
addPass(PM, createPromoteMemoryToRegister()); // "Construct SSA form"
|
||||
addPass(PM, createGlobalDCEPass()); // Remove unused globals
|
||||
addPass(PM, createIPConstantPropagationPass());// IP Constant Propagation
|
||||
addPass(PM, createDeadArgEliminationPass()); // Dead argument elimination
|
||||
addPass(PM, createInstructionCombiningPass()); // Cleanup after IPCP & DAE
|
||||
addPass(PM, createCFGSimplificationPass()); // Clean up disgusting code
|
||||
|
||||
addPass(PM, createPruneEHPass()); // Remove dead EH info
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user