summaryrefslogtreecommitdiff
path: root/compiler/optimizing/side_effects_test.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2025-01-29 17:39:39 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2025-01-30 05:36:18 -0800
commit63cde047113755a1de777120b68a42039e335868 (patch)
treea6f7b2888c73b1dc52ded90f285a324349178128 /compiler/optimizing/side_effects_test.cc
parent6b39013f1801140ff06e6323b5a7173a166d8df2 (diff)
Optimize ValueSet::Kill
Skip calling DeleteAllImpureWhich for side effects which MayDependOn will always return false, which happened 65-75% of the times. In fact, SideEffects::None() was passed on ~50% of the calls to Kill. Based on local compiles, this CL improves GVN runtime by ~15% and overall dex2oat runtime by ~1%. Bug: 393108375 Test: art/test/testrunner/testrunner.py --host --64 -b --optimizing Change-Id: Ib5cdb33c9caa5f2cfffbc1a650dabbda185a3c6d
Diffstat (limited to 'compiler/optimizing/side_effects_test.cc')
0 files changed, 0 insertions, 0 deletions