| commit | 032c315836b8c1ed9ff6bb2be1981b6d4a1a3594 | [log] [tgz] |
|---|---|---|
| author | Manasij Mukherjee <manasijm@google.com> | Tue May 24 14:25:04 2016 -0700 |
| committer | Manasij Mukherjee <manasijm@google.com> | Tue May 24 14:25:04 2016 -0700 |
| tree | d9aeb7dbfcc21c416b75e4ae49aa5d6f0f19e223 | |
| parent | 5cce76190a9bd6a6a524b2afee917f6bec922d8d [diff] |
Subzero: Initial implementation of BB Local CSE
Adds Cfg::localCse for basic-block local common-subexpression elimination
If we have
t1 = op b c
t2 = op b c
This pass will replace future uses of t2 in a basic block by t1.
To enable, use -enable-experimental in O2
BUG=none
R=stichnot@chromium.org
Review URL: https://codereview.chromium.org/1997443002 .