summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/formatters
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-12-15 09:24:01 +0000
committerJames Molloy <james.molloy@arm.com>2015-12-15 09:24:01 +0000
commit6045cc89bd81fa8915ad809e982902bcfc741632 (patch)
tree9bdd2a267a8bc82bf37c4930a2c2c58c34573cbf /lldb/packages/Python/lldbsuite/test/python_api/formatters
parent4b8d75b59643b890ff2b342a9132f09fe86c06e7 (diff)
downloadbcm5719-llvm-6045cc89bd81fa8915ad809e982902bcfc741632.tar.gz
bcm5719-llvm-6045cc89bd81fa8915ad809e982902bcfc741632.zip
[PassManagerBuilder] Add a few more scalar optimization passes
This patch does two things: 1. mem2reg is now run immediately after globalopt. Now that globalopt can localize variables more aggressively, it makes sense to lower them to SSA form earlier rather than later so they can benefit from the full set of optimization passes. 2. More scalar optimizations are run after the loop optimizations in LTO mode. The loop optimizations (especially indvars) can clean up scalar code sufficiently to make it worthwhile running more scalar passes. I've particularly added SCCP here as it isn't run anywhere else in the LTO pass pipeline. Mem2reg is super cheap and shouldn't affect compilation time at all. The rest of the added passes are in the LTO pipeline only so doesn't affect the vast majority of compilations, just the link step. llvm-svn: 255634
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/formatters')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud