-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
Description
| Bugzilla Link | 2377 |
| Resolution | FIXED |
| Resolved on | Feb 11, 2014 19:10 |
| Version | trunk |
| OS | All |
| Reporter | LLVM Bugzilla Contributor |
| CC | @chandlerc,@sunfishcode |
Extended Description
Because ScalarEvolution is a FunctionPass, it kills the LoopPassManager when it is run. This creates overhead because it require the re-instantiation of the LPM, as well as forcing LCSSA to be recomputed repeatedly. As of right now, we compute LCSSA no less than five times in -std-compile-opts, mostly because of this. If SCEV were a loop pass, this could probably be reduced to one or two.