diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2016-05-25 21:26:14 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2016-05-25 21:26:14 +0000 |
commit | fad596aa8195fb390a4ff6cdc016c26007743dfa (patch) | |
tree | 72e722b28c9dc2d6170400d60d06f51ecdb80a74 /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py | |
parent | fa814259adb7e8acb7626ce18d19f9b1fda6c309 (diff) | |
download | bcm5719-llvm-fad596aa8195fb390a4ff6cdc016c26007743dfa.tar.gz bcm5719-llvm-fad596aa8195fb390a4ff6cdc016c26007743dfa.zip |
Move whole-program virtual call optimization pass after function attribute inference in LTO pipeline.
As a result of D18634 we no longer infer certain attributes on linkonce_odr
functions at compile time, and may only infer them at LTO time. The readnone
attribute in particular is required for virtual constant propagation (part
of whole-program virtual call optimization) to work correctly.
This change moves the whole-program virtual call optimization pass after
the function attribute inference passes, and enables the attribute inference
passes at opt level 1, so that virtual constant propagation has a chance to
work correctly for linkonce_odr functions.
Differential Revision: http://reviews.llvm.org/D20643
llvm-svn: 270765
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py')
0 files changed, 0 insertions, 0 deletions