mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 08:46:37 +00:00
run a late dce pass to clean up extra cruft.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35684 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
56f54d431b
commit
c8c5752b2f
@ -201,6 +201,7 @@ void Optimize(Module* M) {
|
||||
if (!DisableOptimizations) {
|
||||
addPass(Passes, createInstructionCombiningPass());
|
||||
addPass(Passes, createCFGSimplificationPass());
|
||||
addPass(Passes, createDeadCodeEliminationPass());
|
||||
addPass(Passes, createGlobalDCEPass());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user