diff options
author | 2022-08-22 13:12:46 +0100 | |
---|---|---|
committer | 2022-09-06 08:52:14 +0000 | |
commit | 65fd6a37398356112316946358e2c58e1a5df631 (patch) | |
tree | 342f25214f46b8656bdf3168694420bf9a153634 /compiler/optimizing/code_generator.cc | |
parent | ca99fd9869f410b5eeada67774a55f91a02b07de (diff) |
Correctly delete all uses when building up the domination graph
We now consider the edge case where the dead instruction we wanted to
remove was used in a phi which is not directly following the block
we are processing right now. To fix this, we process all blocks
before trying to remove the instructions.
As a note, we remove catch phi uses right before removing the
instruction as they are related to the instruction itself and not
the block hierarchy.
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Test: dex2oat compiling locally the apps mentioned in the bug
Bug: 239519319
Change-Id: I70d47891203ae118851a1f20a7cee21de305cd61
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions