diff options
author | 2025-01-10 13:27:45 +0000 | |
---|---|---|
committer | 2025-01-17 05:55:04 -0800 | |
commit | f5cca5b0592fdb9ecc836dc9158ba5d63e0c1c05 (patch) | |
tree | 176eddeec6da7e7747a3128c054fc96f2b32a18d /compiler/optimizing/dead_code_elimination.cc | |
parent | b3e84e14c630ffff276a217d77fb8890b1bb58a1 (diff) |
Optimizing: Rename `HSelectGenerator`...
... to `HCodeFlowSimplifier` in preparation for adding
more optimizations to this pass.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: Icb05c3455d93a7b939f82ced9b08165e533bb21a
Diffstat (limited to 'compiler/optimizing/dead_code_elimination.cc')
-rw-r--r-- | compiler/optimizing/dead_code_elimination.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/dead_code_elimination.cc b/compiler/optimizing/dead_code_elimination.cc index f44f4b577b..ede909526d 100644 --- a/compiler/optimizing/dead_code_elimination.cc +++ b/compiler/optimizing/dead_code_elimination.cc @@ -526,10 +526,10 @@ void HDeadCodeElimination::MaybeAddPhi(HBasicBlock* block) { // | // 8 // `7` (which would be `block` in this example), and `6` will come from both the true path and - // the false path of `1`. We bumped into something similar in SelectGenerator. See - // HSelectGenerator::TryFixupDoubleDiamondPattern. + // the false path of `1`. We bumped into something similar in `HCodeFlowSimplifier`. See + // `HCodeFlowSimplifier::TryFixupDoubleDiamondPattern()`. // TODO(solanes): Figure out if we can fix up the graph into a double diamond in a generic way - // so that DeadCodeElimination and SelectGenerator can take advantage of it. + // so that `HDeadCodeElimination` and `HCodeFlowSimplifier` can take advantage of it. if (!same_input) { // `1` and `7` having the opposite condition is a case we are missing. We could potentially |