diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-11-01 20:41:59 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-11-01 20:41:59 +0000 |
| commit | ef946543633c653f3894d5f2038a11ae74e11c54 (patch) | |
| tree | 1a70bf8cd00488df58b4fdf03788266672c9d98d /llvm/test/CodeGen | |
| parent | 0840cc02ce659e7d951a349d8b719893092726c6 (diff) | |
| download | bcm5719-llvm-ef946543633c653f3894d5f2038a11ae74e11c54.tar.gz bcm5719-llvm-ef946543633c653f3894d5f2038a11ae74e11c54.zip | |
fix two strange things in the default passmgr:
1. we'd run simplifycfg at the very start, even though
the per function passes have already cleaned this up.
2. In the main per-function pipeline that is interlaced with inlining
etc, we would do instcombine, jump threading, simplifycfg *before*
doing SROA. SROA is much more likely to expose opportunities for
these passes than they are for SROA, so move SRoA up earlier.
also add some comments.
llvm-svn: 85742
Diffstat (limited to 'llvm/test/CodeGen')
0 files changed, 0 insertions, 0 deletions

