commit | ba320165975387e780be2bd16fac4a522411b59c | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Thu Apr 22 15:15:13 2021 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Fri Apr 30 03:32:43 2021 +0000 |
tree | 914a3c6b730e662131ad082ba3a9e1f51955efa8 | |
parent | 7a76e234402df797c2cd97d0defbb507ed9a7329 [diff] |
Improve simplifier slightly It's possible thanks to the dead-code-elimination and other passes to end up with a PredicatedInstanceFieldGet that either has a null or a 'never-null' target value. We can simplify this down to either the default value or a normal ifield-get respectively. Test: ./test.py --host Change-Id: I92d9ff159a7b30294d29dbf4349d201dc654f0e1