forked from OSchip/llvm-project
parent
6f99eb56c3
commit
cf82b00eb5
|
@ -45,6 +45,7 @@ static inline void addPass(PassManager &PM, Pass *P) {
|
|||
|
||||
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, createRaiseAllocationsPass()); // call %malloc -> malloc inst
|
||||
addPass(PM, createGlobalDCEPass()); // Remove unused globals
|
||||
|
|
Loading…
Reference in New Issue