commit | 3ac17fcce8773388512ce72cb491b202872ca1c1 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Wed Aug 06 23:02:54 2014 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Thu Aug 07 00:02:31 2014 +0100 |
tree | 475c779c2ee973cf51a0a63c9d010c59c4b2d022 | |
parent | 269c3360f8e69e9faf8bc8a51fd87ae7adadfb59 [diff] |
Fix SsaDeadPhiElimination in the presence of dependent phis. This fixes the problem of having a dead loop phi taking as back-edge input a phi that also has this loop phi as input. Walking backwards does not solve the problem because the loop phi will be visited last. Most of the time, dex removes dead locals like this. Change-Id: I797198cf9c15f8faa6585cca157810e23aaa4940