commit | 2cc9d343550d22e08536e0077893e6d86647c91a | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Apr 26 14:21:14 2019 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Fri Apr 26 15:11:41 2019 +0000 |
tree | d816a9d053620bf756dbc97cb3615a264568ae33 | |
parent | c45b5897e65d8713f008732277db2544b9af1e67 [diff] |
Fix wrong assumption in RemoveInstructionsAsUsersFromDeadBlocks. It can be called in a situation where dead blocks can have phis: the DCE pass would re-build the dominator tree and RemoveInstructionsAsUsersFromDeadBlocks used to assume there cannot be phis. Test: 695-simplify-throws Bug: 131174581 Change-Id: I853956482487a8c7c8fb99499aef318d099754e4