forked from OSchip/llvm-project
Use ADCE instead of just DCE. ADCE will better clean up after jump threading,
for instance. llvm-svn: 53045
This commit is contained in:
parent
488b89f608
commit
abfd3a8162
|
@ -179,7 +179,7 @@ void Optimize(Module* M) {
|
|||
if (!DisableOptimizations) {
|
||||
addPass(Passes, createInstructionCombiningPass());
|
||||
addPass(Passes, createCFGSimplificationPass());
|
||||
addPass(Passes, createDeadCodeEliminationPass());
|
||||
addPass(Passes, createAggressiveDCEPass());
|
||||
addPass(Passes, createGlobalDCEPass());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue