commit | 6b4a474e5ffa42dcbe564c3fd2613d2fee256913 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Apr 26 14:21:14 2019 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Apr 29 08:35:24 2019 +0000 |
tree | e374a81de6ab3bf4bdf1ffebf6e85b5d17dc4bc5 | |
parent | d29087ce98f0da2cdd1bad5d6ddb8dd4e5a1b621 [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 (cherry picked from commit 2cc9d343550d22e08536e0077893e6d86647c91a) Change-Id: I674384382b2c35175ca82c9e7d0d9ccbe6c1ab02 Merged-In: I853956482487a8c7c8fb99499aef318d099754e4