diff options
| author | 2025-02-03 16:01:32 -0800 | |
|---|---|---|
| committer | 2025-02-03 16:01:32 -0800 | |
| commit | 52c3beb9f7dd2ed7a33c4b3cdbfa21bc5a49eb11 (patch) | |
| tree | 13b6f58ccf40448858e1c7dae575868259000355 /compiler/optimizing/control_flow_simplifier.cc | |
| parent | 71217b9c85ff9abd39b61b105ef2bcecdf1a1308 (diff) | |
| parent | 9f4ec535db6ef96a03f1b71f7d20ff65b9e1926c (diff) | |
Snap for 13003345 from 9f4ec535db6ef96a03f1b71f7d20ff65b9e1926c to 25Q2-release
Change-Id: I6dbc1981dedb65426e552f2ce7eda62f00e507fb
Diffstat (limited to 'compiler/optimizing/control_flow_simplifier.cc')
| -rw-r--r-- | compiler/optimizing/control_flow_simplifier.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/control_flow_simplifier.cc b/compiler/optimizing/control_flow_simplifier.cc index 3e1c0ac0fc..35efed59da 100644 --- a/compiler/optimizing/control_flow_simplifier.cc +++ b/compiler/optimizing/control_flow_simplifier.cc @@ -198,7 +198,8 @@ bool HControlFlowSimplifier::TryGenerateSelectSimpleDiamondPattern( block->MergeWith(merge_block); } - MaybeRecordStat(stats_, MethodCompilationStat::kSelectGenerated); + MaybeRecordStat(stats_, select != nullptr ? MethodCompilationStat::kControlFlowSelectGenerated + : MethodCompilationStat::kControlFlowDiamondRemoved); // Very simple way of finding common subexpressions in the generated HSelect statements // (since this runs after GVN). Lookup by condition, and reuse latest one if possible |