diff options
author | 2025-02-12 13:59:45 +0000 | |
---|---|---|
committer | 2025-02-14 06:11:40 -0800 | |
commit | 115169004430011a3328345769e0b014508208fe (patch) | |
tree | 3405d95e77121a3b34a201b95ac0eb6f1c622502 /compiler/optimizing/fast_compiler.h | |
parent | 1a3ce3502dd8b72ab51bddfee0ac894a2d987f4e (diff) |
Optimize HConstantFoldingVisitor::PropagateValue
We can avoid creating constants which were created with
GetGraph()->GetIntConstant. In theory, we could still be creating
a constant that ReplaceUsesDominatedBy doesn't use. In practice,
we can eliminate most (95%+) of constants being created without
impacting or refactoring ReplaceUsesDominatedBy.
Bug: 240543764
Bug: 393108375
Test: art/test/testrunner/testrunner.py --host --64 -b --optimizing
Change-Id: I91f93c373b9097d5598398cc92767ecde5d4aec7
Diffstat (limited to 'compiler/optimizing/fast_compiler.h')
0 files changed, 0 insertions, 0 deletions