This repository has been archived by the owner on Feb 5, 2019. It is now read-only.
forked from luqmana/llvm
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to improve the pass manager order
This changes the order of the GVNs a bit. I removed @eddyb's GVN added in #35662 - I checked the original examples, and it does not seem to do anything. Instead of it, I added a GVN to the *start* of the optimization pipeline, to remove junk. I moved the second GVN to after memcpyopt, so that we'll have a GVN after MemCpy optimizations - we already have a GVN "before" it. Also, I duplicated IndVarSimplify instead of adding a SimplifyCfg - looking at benchmarks, it should have the same performance impact.
- Loading branch information
Showing
1 changed file
with
57 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters